microblog.pub/Dockerfile

7 lines
193 B
Text
Raw Normal View History

2018-07-11 12:41:52 -05:00
FROM python:3
2018-05-18 13:41:41 -05:00
ADD . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV FLASK_APP=app.py
CMD ["gunicorn", "-t", "300", "-w", "2", "-b", "0.0.0.0:5005", "--log-level", "debug", "app:app"]