Yaya86 commited on
Commit
37155a4
·
verified ·
1 Parent(s): 4c415ca

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -9,11 +9,11 @@ ENV OLLAMA_HOST=0.0.0.0
9
 
10
  RUN useradd -m appuser && chown -R appuser:appuser /home/appuser
11
 
12
-
13
  # Create the directory and give appropriate permissions
14
  RUN mkdir -p /.ollama && chmod 777 /.ollama
15
 
16
- CMD ollama serve && ollama pull mixtral
17
  USER appuser
18
  # Command to run the application
19
 
 
9
 
10
  RUN useradd -m appuser && chown -R appuser:appuser /home/appuser
11
 
12
+ RUN ollama pull mixtral && ollama pull nomic-embed-text
13
  # Create the directory and give appropriate permissions
14
  RUN mkdir -p /.ollama && chmod 777 /.ollama
15
 
16
+ CMD ollama serve
17
  USER appuser
18
  # Command to run the application
19