Spaces:
Sleeping
Sleeping
Arts-of-coding
commited on
Commit
•
45e1987
1
Parent(s):
467e7b4
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -67,4 +67,6 @@ COPY /data/ ./data/
|
|
67 |
#; exec $SHELL"
|
68 |
|
69 |
# How the docker app will run
|
70 |
-
CMD ["uvicorn", "main:dashboard1"
|
|
|
|
|
|
67 |
#; exec $SHELL"
|
68 |
|
69 |
# How the docker app will run
|
70 |
+
CMD ["gunicorn","-w", "3", "-k", "uvicorn.workers.UvicornWorker", "main:dashboard1"] #, "--host", "0.0.0.0", "--port", "5000"
|
71 |
+
|
72 |
+
-w 3 -k uvicorn.workers.UvicornWorker
|