1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
FROM python:3.7.8-alpine COPY . /app WORKDIR /app # GCC for Alpine Linux in Docker RUN apk add build-base # Dependencies RUN pip install pipenv && \ pipenv requirements > requirements.txt && \ pip install -r requirements.txt ENTRYPOINT ["python"] CMD ["app/app.py"]