docker support

This commit is contained in:
EvilMuffinHa 2020-10-14 21:45:54 -04:00
parent d69812a424
commit c1f94edfea
2 changed files with 10 additions and 1 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM python:3.8
ADD . /root/
WORKDIR /root
RUN pip install -r requirements.txt
CMD [ "gunicorn", "--chdir", "src", "app:app"]

View File

@ -1 +1 @@
web: gunicorn app:app web: gunicorn --chdir src app:app