Yaya86 commited on
Commit
fd4024e
·
verified ·
1 Parent(s): ef9ad6a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -8,13 +8,15 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
8
  ENV OLLAMA_HOST=0.0.0.0
9
 
10
  RUN useradd -m appuser && chown -R appuser:appuser /home/appuser
11
- RUN ollama
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
 
20
 
 
8
  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
17
  USER appuser
18
+
19
+ RUN ollama pull mixtral && ollama pull nomic-embed-text
20
  # Command to run the application
21
 
22