pup-py commited on
Commit
2fa377e
·
verified ·
1 Parent(s): 226c0c5

install only

Browse files
Files changed (1) hide show
  1. 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
- RUN ollama pull codegemma:2b
 
 
 
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