papaduvalier commited on
Commit
26eabcf
·
verified ·
1 Parent(s): 6f8fad3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- CMD ["python", "-m", "open_webui", "--port", "7860"]
 
 
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"]