Yaya86 commited on
Commit
d5601e0
·
verified ·
1 Parent(s): 6960c5f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -1,4 +1,9 @@
1
  FROM ubuntu:latest
 
 
 
 
 
2
  RUN apt update && apt install curl -y
3
 
4
  RUN curl -fsSL https://ollama.com/install.sh | sh
@@ -6,7 +11,7 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
6
  ENV OLLAMA_HOST=0.0.0.0
7
 
8
 
9
- RUN useradd -m -u 1000 appuser
10
  #&& chown -R appuser:appuser /home/appuser
11
 
12
 
 
1
  FROM ubuntu:latest
2
+
3
+ RUN useradd -m -u 1000 appuser
4
+
5
+ USER appuser
6
+
7
  RUN apt update && apt install curl -y
8
 
9
  RUN curl -fsSL https://ollama.com/install.sh | sh
 
11
  ENV OLLAMA_HOST=0.0.0.0
12
 
13
 
14
+ #RUN useradd -m -u 1000 appuser
15
  #&& chown -R appuser:appuser /home/appuser
16
 
17