alibidaran commited on
Commit
09b15b6
·
verified ·
1 Parent(s): 553de78

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -9,7 +9,10 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
9
 
10
  # Set working directory for the app
11
  WORKDIR /app
 
12
 
 
 
13
  # Copy application files and model
14
  COPY . /app
15
 
 
9
 
10
  # Set working directory for the app
11
  WORKDIR /app
12
+ RUN mkdir -p /app/.ollama
13
 
14
+ # Set environment variable for Ollama home directory
15
+ ENV OLLAMA_HOME=/app/.ollama
16
  # Copy application files and model
17
  COPY . /app
18