galerie-site/Dockerfile
2020-09-13 22:30:42 +02:00

18 lines
232 B
Docker

FROM python:3.8-alpine
WORKDIR /app
COPY Pipfile* /app/
RUN pip install pipenv && pipenv install --system
COPY . /app
RUN date +%d-%m-%Y > /app/date
WORKDIR /app
EXPOSE 8000
CMD ["gunicorn", "-w 1", "-b 0.0.0.0", "app:app"]