mitulagr2 commited on
Commit
f371d4d
·
1 Parent(s): 2476088

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -19,11 +19,11 @@ COPY ./app /code/app
19
  #
20
  # RUN apt-get update && apt-get install -y sudo
21
 
22
- # RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
23
 
24
  RUN curl -fsSL https://ollama.com/install.sh | sh
25
 
26
- USER nonroot
27
 
28
  RUN nohup ollama serve & sleep 5
29
 
 
19
  #
20
  # RUN apt-get update && apt-get install -y sudo
21
 
22
+ RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
23
 
24
  RUN curl -fsSL https://ollama.com/install.sh | sh
25
 
26
+ USER docker
27
 
28
  RUN nohup ollama serve & sleep 5
29