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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -5,6 +5,12 @@ RUN apt update && apt install curl -y
5
 
6
  RUN curl -fsSL https://ollama.com/install.sh | sh
7
 
 
 
 
 
 
 
8
  # Create the directory and give appropriate permissions
9
  RUN mkdir -p /.ollama && chmod 777 /.ollama
10
 
 
5
 
6
  RUN curl -fsSL https://ollama.com/install.sh | sh
7
 
8
+ 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