Spaces:
Running

michdubai commited on
Commit
452afc8
·
verified ·
1 Parent(s): 285be13

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM ghcr.io/open-webui/open-webui:main
2
 
3
- # Expose the default port Hugging Face Spaces requires
 
4
  EXPOSE 7860
5
 
6
- # Set Hugging Face home directory environment rules
7
- ENV HOME=/root
 
1
  FROM ghcr.io/open-webui/open-webui:main
2
 
3
+ # Force Open WebUI to run on Hugging Face's required port
4
+ ENV PORT=7860
5
  EXPOSE 7860
6
 
7
+ ENV HOME=/root