init
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user