Yaya86 commited on
Commit
f52ead2
·
verified ·
1 Parent(s): 312a04d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -21,8 +21,7 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
21
 
22
 
23
  # Create the directory and give appropriate permissions
24
- RUN mkdir -p /.ollama
25
- RUN chmod 777 /.ollama
26
 
27
  WORKDIR /.ollama
28
 
@@ -41,4 +40,4 @@ CMD ollama serve
41
  #ENV model=${model}
42
 
43
  # Expose the server port
44
- EXPOSE 7860
 
21
 
22
 
23
  # Create the directory and give appropriate permissions
24
+ RUN mkdir -p /.ollama && chmod 777 /.ollama
 
25
 
26
  WORKDIR /.ollama
27
 
 
40
  #ENV model=${model}
41
 
42
  # Expose the server port
43
+ EXPOSE 11434