brendon-ai commited on
Commit
36e5fd3
·
verified ·
1 Parent(s): bb905f9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -30,9 +30,9 @@ RUN pip install --no-cache-dir --upgrade pip && \
30
  # Install Ollama
31
  RUN curl -fsSL https://ollama.ai/install.sh | sh
32
 
33
- # Create app directory and set permissions
34
- RUN mkdir -p /app/.ollama && \
35
- chmod 755 /app/.ollama
36
 
37
  # Copy application files
38
  COPY app.py .
 
30
  # Install Ollama
31
  RUN curl -fsSL https://ollama.ai/install.sh | sh
32
 
33
+ # Create ollama directories with proper permissions
34
+ RUN mkdir -p /app/.ollama/models && \
35
+ chmod -R 777 /app/.ollama
36
 
37
  # Copy application files
38
  COPY app.py .