Deepak Yadav commited on
Commit
6947272
·
1 Parent(s): e876950

updated new version deepseek-r1

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,8 +7,8 @@ RUN apt-get update && apt-get install -y curl
7
  # Install Ollama
8
  RUN curl -fsSL https://ollama.com/install.sh | sh
9
 
10
- # Pull the Ollama model in advance
11
- RUN ollama pull deepseek-r1:1.5b
12
 
13
  # Install Python dependencies
14
  COPY requirements.txt .
 
7
  # Install Ollama
8
  RUN curl -fsSL https://ollama.com/install.sh | sh
9
 
10
+ # Start Ollama temporarily and pull the model
11
+ RUN ollama serve & sleep 5 && ollama pull deepseek-r1:1.5b
12
 
13
  # Install Python dependencies
14
  COPY requirements.txt .