devve1 commited on
Commit
0e46eeb
1 Parent(s): 823c75f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -12
Dockerfile CHANGED
@@ -12,20 +12,9 @@ RUN mkdir -p /.ollama && chmod 777 /.ollama
12
 
13
  WORKDIR /.ollama
14
 
15
- # Copy the entry point script
16
- COPY entrypoint.sh /entrypoint.sh
17
- RUN chmod +x /entrypoint.sh
18
-
19
- # Set the entry point script as the default command
20
- ENTRYPOINT ["/entrypoint.sh"]
21
  CMD ["ollama", "serve"]
22
 
23
- # Set the model as an environment variable (this can be overridden)
24
- ENV model=${model}
25
-
26
- # Expose the server port
27
- EXPOSE 7860
28
-
29
  RUN useradd -m -u 1000 user
30
  USER user
31
  ENV HOME /home/user
 
12
 
13
  WORKDIR /.ollama
14
 
15
+ CMD ["ollama", "pull", "adrienbrault/nous-hermes2theta-llama3-8b:q8_0"]
 
 
 
 
 
16
  CMD ["ollama", "serve"]
17
 
 
 
 
 
 
 
18
  RUN useradd -m -u 1000 user
19
  USER user
20
  ENV HOME /home/user