svm-prefilter-service/Dockerfile

17 lines
373 B
Docker
Raw Normal View History

2021-11-23 00:19:29 +01:00
FROM python:3.9
2021-11-23 01:41:24 +01:00
ADD svm_prefilter_service requirements.txt uwsgi.ini /svm_prefilter_service/
2021-11-23 00:19:29 +01:00
WORKDIR /svm_prefilter_service/
ENV PIP_NO_CACHE_DIR=true
ENV TZ Europe/Budapest
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN pip3 install -r requirements.txt
ENV GUNICORN_LOGLEVEL="info"
EXPOSE 8000
2021-11-23 01:41:24 +01:00
CMD ["uwsgi", "--ini", "uwsgi.ini"]
2021-11-23 00:19:29 +01:00