NitinBot002 commited on
Commit
64e184a
·
verified ·
1 Parent(s): 3821e0d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -30,10 +30,10 @@ ENV OLLAMA_HOST=0.0.0.0:7860 \
30
  OLLAMA_KEEP_ALIVE=1m \
31
  OLLAMA_CPU_THREADS=4 \
32
  HOME=/home/ollama \
33
- USER=root
34
 
35
  # Switch to ollama user
36
- USER root
37
  WORKDIR /home/ollama
38
 
39
  # Verify permissions (this will help with debugging)
 
30
  OLLAMA_KEEP_ALIVE=1m \
31
  OLLAMA_CPU_THREADS=4 \
32
  HOME=/home/ollama \
33
+ USER=ollama
34
 
35
  # Switch to ollama user
36
+ USER ollama
37
  WORKDIR /home/ollama
38
 
39
  # Verify permissions (this will help with debugging)