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