cfone/Dockerfile
2021-09-22 23:46:35 -04:00

12 lines
224 B
Docker

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"]