storage-service/Dockerfile
Torma Kristóf 991bf21b3a
All checks were successful
continuous-integration/drone/push Build is passing
update python
2020-12-06 11:26:12 +01:00

15 lines
334 B
Docker

FROM python:3.9-slim
ADD storage_service requirements.txt /storage_service/
WORKDIR /storage_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
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]