initial commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
FROM python:3.9
|
||||
|
||||
ADD svm_prefilter_service requirements.txt /svm_prefilter_service/
|
||||
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
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:8000", "--log-level", "${GUNICORN_LOGLEVEL}", "app:app"]
|
||||
|
Reference in New Issue
Block a user