Yakova commited on
Commit
5264f87
·
1 Parent(s): 6029b83

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -5,6 +5,9 @@ RUN apt update && apt install curl -y
5
 
6
  RUN curl https://ollama.ai/install.sh | sh
7
 
 
 
 
8
  # Command to run the application
9
  CMD ollama serve & sleep 10s && ollama pull zephyr
10
 
 
5
 
6
  RUN curl https://ollama.ai/install.sh | sh
7
 
8
+ # Create the directory and give appropriate permissions
9
+ RUN mkdir -p /.ollama && chmod 777 /.ollama
10
+
11
  # Command to run the application
12
  CMD ollama serve & sleep 10s && ollama pull zephyr
13