mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
8449ff0d6e
In order to have the Python 3.7 upgrade automatically
6 lines
195 B
Docker
6 lines
195 B
Docker
FROM python:3.7
|
|
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"]
|