Yaya86 commited on
Commit
7ac26d4
·
verified ·
1 Parent(s): ead6103

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -6,6 +6,7 @@ RUN apt update && apt install curl -y
6
  RUN curl -fsSL https://ollama.com/install.sh | sh
7
 
8
  ENV OLLAMA_HOST=0.0.0.0
 
9
 
10
  RUN useradd -m -u 1000 appuser
11
  #&& chown -R appuser:appuser /home/appuser
@@ -34,7 +35,7 @@ CMD ollama serve
34
 
35
  # Set the model as an environment variable (this can be overridden)
36
  #ENV model="nomic-embed-text","yayarun/mixtral_erbot"
37
- #ENV OLLAMA_MODELS="/home/appuser/.ollama/models"
38
 
39
  # Expose the server port
40
  EXPOSE 7860
 
6
  RUN curl -fsSL https://ollama.com/install.sh | sh
7
 
8
  ENV OLLAMA_HOST=0.0.0.0
9
+ ENV OLLAMA_MODELS=".ollama/models"
10
 
11
  RUN useradd -m -u 1000 appuser
12
  #&& chown -R appuser:appuser /home/appuser
 
35
 
36
  # Set the model as an environment variable (this can be overridden)
37
  #ENV model="nomic-embed-text","yayarun/mixtral_erbot"
38
+
39
 
40
  # Expose the server port
41
  EXPOSE 7860