shimen commited on
Commit
c7a5396
·
verified ·
1 Parent(s): e27fffb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,12 +1,9 @@
1
  FROM ghcr.io/open-webui/open-webui:main
2
 
3
- # Expose the port for Hugging Face Spaces
4
  EXPOSE 7860
5
 
6
- # Set environment variables for HF Spaces
7
  ENV PORT=7860
8
  ENV HOST=0.0.0.0
9
 
10
- # Open WebUI runs on port 8080 by default, but HF Spaces needs 7860
11
- # We'll use the built-in start script
12
- CMD ["/bin/sh", "-c", "open-webui serve --port $PORT --host $HOST"]
 
1
  FROM ghcr.io/open-webui/open-webui:main
2
 
 
3
  EXPOSE 7860
4
 
 
5
  ENV PORT=7860
6
  ENV HOST=0.0.0.0
7
 
8
+ # Use the actual start script that comes with the image
9
+ CMD ["/bin/bash", "-c", "/app/backend/start.sh"]