Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -9,4 +9,5 @@ EXPOSE 7860
|
|
9 |
ENV PORT=7860
|
10 |
|
11 |
# Command to run the application, ensuring it listens on port 7860
|
12 |
-
|
|
|
|
9 |
ENV PORT=7860
|
10 |
|
11 |
# Command to run the application, ensuring it listens on port 7860
|
12 |
+
# Run the application using uvicorn, binding to port 7860
|
13 |
+
CMD ["uvicorn", "open_webui.main:app", "--host", "0.0.0.0", "--port", "7860"]
|