microblog.pub/Dockerfile
2018-05-21 12:18:15 +02:00

6 lines
158 B
Docker

FROM python:3.6
ADD . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV FLASK_APP=app.py
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:5005", "app:app"]