ShriAishu commited on
Commit
8bc00a0
·
verified ·
1 Parent(s): 9b71239

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -6
Dockerfile CHANGED
@@ -11,12 +11,7 @@ ENV OLLAMA_HOST=0.0.0.0:7860
11
  EXPOSE 7860
12
 
13
  # Use a startup script to run the server and pull the model
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
 
21
  # Run the startup script
22
  ENTRYPOINT ["/bin/bash", "/start.sh"]
 
11
  EXPOSE 7860
12
 
13
  # Use a startup script to run the server and pull the model
14
+ RUN chmod +x start.sh
 
 
 
 
 
15
 
16
  # Run the startup script
17
  ENTRYPOINT ["/bin/bash", "/start.sh"]