BinaryONe commited on
Commit
eccb1d3
·
1 Parent(s): 46c9e6f

Fixing Parameters

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,9 +1,10 @@
1
  FROM ollama/ollama:latest
2
 
3
- # Expose desired port
4
  EXPOSE 7860
5
 
6
- # Bind to all interfaces on port 7860
7
  ENV OLLAMA_HOST=0.0.0.0:7860
8
 
9
- CMD ["ollama", "serve"]
 
 
1
  FROM ollama/ollama:latest
2
 
3
+ # Expose your desired port
4
  EXPOSE 7860
5
 
6
+ # Make Ollama listen on 0.0.0.0:7860 (default listens on 11434)
7
  ENV OLLAMA_HOST=0.0.0.0:7860
8
 
9
+ # Let the base image default ENTRYPOINT (ollama binary) run "serve"
10
+ CMD ["serve"]