Update Dockerfile
Browse files- Dockerfile +10 -4
Dockerfile
CHANGED
|
@@ -1,7 +1,13 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|