Spaces:
Runtime error
Runtime error
WaiYanLynn
commited on
Commit
•
72af5d4
1
Parent(s):
f006638
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -25,5 +25,5 @@ EXPOSE 7860
|
|
25 |
|
26 |
# Run uvicorn when the container launches
|
27 |
# CMD ["hypercorn", "app:asgi", "--bind", "127.0.0.1:7860"]
|
28 |
-
CMD ["uvicorn", "app:asgi", "--host", "0.0.0.0", "--port", "7860"]
|
29 |
-
|
|
|
25 |
|
26 |
# Run uvicorn when the container launches
|
27 |
# CMD ["hypercorn", "app:asgi", "--bind", "127.0.0.1:7860"]
|
28 |
+
# CMD ["uvicorn", "app:asgi", "--host", "0.0.0.0", "--port", "7860"]
|
29 |
+
CMD ["gunicorn","-w", "4", "-b", "0.0.0.0:7860", "app:create_app()"]
|