Yaya86 commited on
Commit
0299558
·
verified ·
1 Parent(s): e224688

Update Dockerfile

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