Yaya86 commited on
Commit
00017ea
·
verified ·
1 Parent(s): ae7bce7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -20,13 +20,13 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
20
 
21
 
22
  # Create the directory and give appropriate permissions
23
- RUN mkdir -p /.ollama && chmod 777 /.ollama
24
 
25
  WORKDIR /.ollama
26
 
27
  # Copy the entry point script
28
  COPY entrypoint.sh /entrypoint.sh
29
- RUN chmod +x /entrypoint.sh
30
 
31
  # Set the entry point script as the default command
32
  ENTRYPOINT ["/entrypoint.sh"]
 
20
 
21
 
22
  # Create the directory and give appropriate permissions
23
+ RUN sudo mkdir -p /.ollama && sudo chmod 777 /.ollama
24
 
25
  WORKDIR /.ollama
26
 
27
  # Copy the entry point script
28
  COPY entrypoint.sh /entrypoint.sh
29
+ RUN sudo chmod +x /entrypoint.sh
30
 
31
  # Set the entry point script as the default command
32
  ENTRYPOINT ["/entrypoint.sh"]