mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
7 lines
158 B
Docker
7 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", "4", "-b", "0.0.0.0:5005", "app:app"]
|