harsh-dev commited on
Commit
2c868b4
·
unverified ·
1 Parent(s): d573ffa

change to default

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -4
  2. start.sh +0 -17
Dockerfile CHANGED
@@ -1,8 +1,5 @@
1
  FROM ghcr.io/open-webui/open-webui:ollama
2
 
3
- COPY start.sh /start.sh
4
- RUN chmod +x /start.sh
5
 
6
  EXPOSE 7860
7
-
8
- CMD ["/start.sh"]
 
1
  FROM ghcr.io/open-webui/open-webui:ollama
2
 
3
+ ENV PORT=7860
 
4
 
5
  EXPOSE 7860
 
 
start.sh DELETED
@@ -1,17 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Start Ollama
4
- ollama serve &
5
-
6
- # Wait for Ollama to become available
7
- until ollama list >/dev/null 2>&1; do
8
- sleep 1
9
- done
10
-
11
- # Download model if it isn't already installed
12
- if ! ollama list | grep -q "qwen3:1.7b"; then
13
- ollama pull qwen3:1.7b
14
- fi
15
-
16
- # Start Open WebUI
17
- exec bash /app/backend/start.sh