This commit is contained in:
Jon
2020-09-29 22:06:47 +00:00
commit 701a13f636
5 changed files with 48 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.7-alpine
COPY requirements.txt /
RUN pip install -r /requirements.txt
COPY app.py app/app.py
WORKDIR /app
EXPOSE 8000
#CMD ["gunicorn", "-b 0.0.0.0:8000", "-w 4", "app:app"]
ENTRYPOINT ["gunicorn", "-b 0.0.0.0:8000", "-w 4", "app:app"]
#CMD ["gunicorn", "-w 4", "app:app"]