Update Dockerfile
Browse files- Dockerfile +9 -2
Dockerfile
CHANGED
@@ -5,8 +5,15 @@ FROM python:3.9
|
|
5 |
|
6 |
WORKDIR /
|
7 |
|
|
|
8 |
|
9 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
10 |
|
|
|
11 |
|
12 |
-
CMD ["
|
|
|
5 |
|
6 |
WORKDIR /
|
7 |
|
8 |
+
RUN curl -fsSL https://ollama.com/install.sh | sh
|
9 |
|
10 |
+
RUN ollama pull mistral
|
11 |
+
RUN ollama pull llama2
|
12 |
+
RUN ollama pull llava
|
13 |
+
RUN ollama pull all-minilm
|
14 |
+
RUN ollama pull nomic-embed-text
|
15 |
+
RUN ollama pull mxbai-embed-large
|
16 |
|
17 |
+
RUN OLLAMA_HOST=0.0.0.0:2563
|
18 |
|
19 |
+
CMD ["ollama", "serve" ]
|