cfone/Dockerfile

12 lines
224 B
Docker
Raw Normal View History

2021-09-23 03:46:35 +00:00
FROM python:3.6
ENV FLASK_APP run.py
COPY run.py gunicorn-cfg.py requirements.txt config.py .env ./
COPY app app
RUN pip install -r requirements.txt
EXPOSE 5005
CMD ["gunicorn", "--config", "gunicorn-cfg.py", "run:app"]