Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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 |
|