shimen commited on
Commit
bbf44e4
·
verified ·
1 Parent(s): 3138100

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -20
Dockerfile CHANGED
@@ -1,20 +0,0 @@
1
- FROM ghcr.io/open-webui/open-webui:main
2
-
3
- # Environment variables
4
- ENV WEBUI_SECRET_KEY="123"
5
- ENV DATA_DIR=/data
6
- ENV ENABLE_SIGNUP=true
7
- ENV DEFAULT_USER_ROLE=pending
8
-
9
- # Create data directory
10
- RUN mkdir -p /data
11
-
12
- # Expose port 7860 (required by Hugging Face)
13
- EXPOSE 7860
14
-
15
- # Use the original start script but override the port
16
- ENV PORT=7860
17
- ENV HOST=0.0.0.0
18
-
19
- # The base image has a start.sh script, we'll use it
20
- CMD ["sh", "-c", "cd /app && PORT=7860 ./start.sh"]