robinroy03 commited on
Commit
7df62ed
·
verified ·
1 Parent(s): 46e8ff2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,6 +1,11 @@
1
  FROM ollama/ollama
2
 
3
  WORKDIR /code
 
 
 
 
 
4
  ENV OLLAMA_MAX_LOADED_MODELS=20 --OLLAMA_NUM_PARALLEL=20
5
 
6
  CMD ["serve"]
 
1
  FROM ollama/ollama
2
 
3
  WORKDIR /code
4
+ RUN mkdir -p /code && chmod 777 /code
5
+ RUN mkdir -p /ollama && chmod 777 /ollama
6
+ RUN chown -R user:user /code
7
+
8
+
9
  ENV OLLAMA_MAX_LOADED_MODELS=20 --OLLAMA_NUM_PARALLEL=20
10
 
11
  CMD ["serve"]