rogermt commited on
Commit
c66b0f0
·
verified ·
1 Parent(s): c3cba4c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -8
Dockerfile CHANGED
@@ -1,8 +1,6 @@
1
- # Use the base image from the GitHub Container Registry
2
- FROM ghcr.io/open-webui/open-webui:ollama
3
-
4
- # Expose the necessary port
5
- EXPOSE 8080
6
-
7
- # Set the entrypoint command to run the Open WebUI
8
- ENTRYPOINT ["docker", "run", "-d", "-p", "3000:8080", "-v", "ollama:/root/.ollama", "-v", "open-webui:/app/backend/data", "--name", "open-webui", "--restart", "always", "ghcr.io/open-webui/open-webui:ollama"]
 
1
+ ghcr.io/open-webui/open-webui:ollamaFROM ghcr.io/open-webui/open-webui:ollama
2
+ CMD ["docker", "run", "-d", "-p", "3000:8080",
3
+ "-v", "ollama:/root/.ollama",
4
+ "-v", "open-webui:/app/backend/data",
5
+ "--name", "open-webui",
6
+ "--restart", "always"]