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 4", "-b 0.0.0.0", "app:app"]