ash-171 commited on
Commit
aa8e251
·
verified ·
1 Parent(s): 974fb82

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -20,7 +20,9 @@ USER ollama
20
  WORKDIR /home/ollama
21
 
22
  # Install Ollama as user
23
- RUN curl -fsSL https://ollama.com/install.sh | sh
 
 
24
 
25
  # Switch back to root to install Python packages globally
26
  USER root
 
20
  WORKDIR /home/ollama
21
 
22
  # Install Ollama as user
23
+ RUN curl -L https://ollama.com/download/OllamaLinux -o /usr/local/bin/ollama && \
24
+ chmod +x /usr/local/bin/ollama
25
+
26
 
27
  # Switch back to root to install Python packages globally
28
  USER root