Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -5,8 +5,8 @@ FROM python:3.10-slim
|
|
5 |
RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
|
6 |
|
7 |
# Install Ollama server
|
8 |
-
RUN curl -L https://ollama.com/download/ollama-linux-amd64.tgz -o ollama-linux-amd64.tgz
|
9 |
-
|
10 |
# Set working directory for the app
|
11 |
WORKDIR /app
|
12 |
|
|
|
5 |
RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
|
6 |
|
7 |
# Install Ollama server
|
8 |
+
RUN curl -L https://ollama.com/download/ollama-linux-amd64.tgz -o ollama-linux-amd64.tgz &&
|
9 |
+
sudo tar -C /usr -xzf ollama-linux-amd64.tgz
|
10 |
# Set working directory for the app
|
11 |
WORKDIR /app
|
12 |
|