bahi-bh commited on
Commit
56b6006
·
verified ·
1 Parent(s): 0ab70f8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -4
Dockerfile CHANGED
@@ -1,7 +1,13 @@
1
- FROM ollama/ollama
2
 
3
- EXPOSE 7860
4
 
5
- ENV OLLAMA_HOST=0.0.0.0:7860
6
 
7
- CMD ["serve"]
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
 
3
+ RUN apt update && apt install -y curl
4
 
5
+ RUN curl -fsSL https://ollama.com/install.sh | sh
6
 
7
+ RUN curl -L https://github.com/open-webui/open-webui/archive/refs/heads/main.tar.gz | tar xz
8
+
9
+ WORKDIR /open-webui-main
10
+
11
+ EXPOSE 8080 11434
12
+
13
+ CMD ollama serve & npm install && npm run dev