Arts-of-coding
commited on
Commit
•
b339d7f
1
Parent(s):
b1df39f
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -72,7 +72,7 @@ COPY /pages/ ./pages/
|
|
72 |
|
73 |
# How the docker app will run
|
74 |
#CMD ["python3","app.py"]
|
75 |
-
|
76 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "5000"]
|
77 |
|
78 |
#-w 3 -k uvicorn.workers.UvicornWorker
|
|
|
72 |
|
73 |
# How the docker app will run
|
74 |
#CMD ["python3","app.py"]
|
75 |
+
CMD ["gunicorn","-w", "3", "-k", "uvicorn.workers.UvicornWorker", "app:app", "-b", "0.0.0.0:5000"] #, "--host", "0.0.0.0", "--port", "5000"
|
76 |
+
#CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "5000"]
|
77 |
|
78 |
#-w 3 -k uvicorn.workers.UvicornWorker
|