Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y \
|
|
21 |
RUN python -m pip install --upgrade pip
|
22 |
RUN pip install --no-cache-dir -r requirements.txt
|
23 |
# Install Ollama
|
24 |
-
RUN curl -fsSL https://ollama.com/install.sh | sh
|
25 |
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
26 |
WORKDIR /.ollama
|
27 |
RUN which ollama
|
|
|
21 |
RUN python -m pip install --upgrade pip
|
22 |
RUN pip install --no-cache-dir -r requirements.txt
|
23 |
# Install Ollama
|
24 |
+
RUN curl -fsSL https://ollama.com/install.sh | sh && ollama serve
|
25 |
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
26 |
WORKDIR /.ollama
|
27 |
RUN which ollama
|