svm-prefilter-service/Dockerfile
marcsello 6c259c1451
All checks were successful
continuous-integration/drone Build is passing
Finally fixed
2021-11-23 21:33:06 +01:00

17 lines
406 B
Docker

FROM registry.kmlabz.com/birbnetes/ai-base-image
ADD svm_prefilter_service requirements.txt uwsgi.ini /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 ["uwsgi", "--ini", "uwsgi.ini"]