microblog.pub/Dockerfile

7 lines
182 B
Docker
Raw Normal View History

2018-05-18 18:41:41 +00:00
FROM python:3.6
ADD . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV FLASK_APP=app.py
2018-05-22 22:41:37 +00:00
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:5005", "--log-level", "debug", "app:app"]