install only
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -6,8 +6,11 @@ RUN apt-get update \
|
|
6 |
&& apt-get clean
|
7 |
|
8 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
9 |
-
RUN ollama serve
|
10 |
-
|
|
|
|
|
|
|
11 |
|
12 |
RUN useradd -m -u 1000 user
|
13 |
USER user
|
|
|
6 |
&& apt-get clean
|
7 |
|
8 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
9 |
+
# RUN ollama serve & \
|
10 |
+
# sleep 2 && \
|
11 |
+
# until curl -s http://localhost:11434/api/tags > /dev/null; do echo "Waiting for Ollama..."; sleep 2; done && \
|
12 |
+
# ollama pull codegemma:2b && \
|
13 |
+
# pkill -f "ollama serve"
|
14 |
|
15 |
RUN useradd -m -u 1000 user
|
16 |
USER user
|