robinroy03 commited on
Commit
311b40b
1 Parent(s): 3d371df

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -5,6 +5,8 @@ RUN mkdir -p /code && chmod 777 /code
5
  RUN mkdir -p /.ollama && chmod 777 /.ollama
6
 
7
  ENV OLLAMA_MAX_LOADED_MODELS=20 --OLLAMA_NUM_PARALLEL=20
8
- ENV OLLAMA_HOST "0.0.0.0:8080"
9
 
10
- CMD ["serve"]
 
 
 
5
  RUN mkdir -p /.ollama && chmod 777 /.ollama
6
 
7
  ENV OLLAMA_MAX_LOADED_MODELS=20 --OLLAMA_NUM_PARALLEL=20
8
+ ENV OLLAMA_HOST "0.0.0.0:7860"
9
 
10
+ CMD ["serve"]
11
+
12
+ EXPOSE 7860