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

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
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"]