ruslanmv commited on
Commit
fd7db7b
1 Parent(s): a1a0220

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -30,6 +30,7 @@ RUN pip install --no-cache-dir -r requirements.txt
30
  # Install Ollama
31
  RUN curl -fsSL https://ollama.com/install.sh | sh
32
 
 
33
  RUN which ollama
34
  # Expose the port the application uses (replace 11434 with the actual port)
35
  EXPOSE 11434
@@ -43,6 +44,7 @@ RUN chmod -R 777 translations
43
  # Copy the init script
44
  COPY init.sh /app/init.sh
45
  RUN chmod +x /app/init.sh
 
46
 
47
  # Define the command to run the init script
48
  CMD ["/bin/bash", "/app/init.sh"]
 
30
  # Install Ollama
31
  RUN curl -fsSL https://ollama.com/install.sh | sh
32
 
33
+
34
  RUN which ollama
35
  # Expose the port the application uses (replace 11434 with the actual port)
36
  EXPOSE 11434
 
44
  # Copy the init script
45
  COPY init.sh /app/init.sh
46
  RUN chmod +x /app/init.sh
47
+ RUN mkdir /app/.ollama
48
 
49
  # Define the command to run the init script
50
  CMD ["/bin/bash", "/app/init.sh"]