subhrajit-mohanty commited on
Commit
af23e20
·
verified ·
1 Parent(s): d29f96e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -8,5 +8,7 @@ ENV OLLAMA_HOST=0.0.0.0:$SPACE_HOST
8
  # Expose the port
9
  EXPOSE $SPACE_HOST
10
 
 
 
11
  # Run Ollama server and pull the model
12
- CMD ["ollama serve & sleep 5 && ollama pull steamdj/llama3.1-cpu-only"]
 
8
  # Expose the port
9
  EXPOSE $SPACE_HOST
10
 
11
+ RUN ollama pull steamdj/llama3.1-cpu-only
12
+
13
  # Run Ollama server and pull the model
14
+ CMD ["ollama serve"]