Yaya86 commited on
Commit
923add3
·
verified ·
1 Parent(s): 8cc3f46

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -23,10 +23,10 @@ RUN chmod +x /entrypoint.sh
23
 
24
  # Set the entry point script as the default command
25
  ENTRYPOINT ["/entrypoint.sh"]
26
- CMD ["ollama", "serve"]
27
 
28
  # Set the model as an environment variable (this can be overridden)
29
- ENV model=${model}
30
 
31
  # Expose the server port
32
  EXPOSE 7860
 
23
 
24
  # Set the entry point script as the default command
25
  ENTRYPOINT ["/entrypoint.sh"]
26
+ #CMD ["ollama", "serve"]
27
 
28
  # Set the model as an environment variable (this can be overridden)
29
+ ENV model="nomic-embed-text"
30
 
31
  # Expose the server port
32
  EXPOSE 7860