ShriAishu commited on
Commit
a302e9c
·
verified ·
1 Parent(s): 578030d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use the official Ollama image
2
- FROM ollama/ollama:latest
3
 
4
  # Set the environment variable for Hugging Face Spaces default port
5
  ENV OLLAMA_HOST=0.0.0.0:7860
@@ -14,7 +14,7 @@ EXPOSE 7860
14
  RUN echo '#!/bin/bash \n\
15
  ollama serve & \n\
16
  sleep 5 \n\
17
- ollama pull qwen3.5:4b \n\
18
  ollama list \n\
19
  wait' > /start.sh && chmod +x /start.sh
20
 
 
1
  # Use the official Ollama image
2
+ FROM alpine/ollama
3
 
4
  # Set the environment variable for Hugging Face Spaces default port
5
  ENV OLLAMA_HOST=0.0.0.0:7860
 
14
  RUN echo '#!/bin/bash \n\
15
  ollama serve & \n\
16
  sleep 5 \n\
17
+ ollama pull qwen3.5:2b \n\
18
  ollama list \n\
19
  wait' > /start.sh && chmod +x /start.sh
20