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