Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -4,8 +4,8 @@ RUN apt-get update && apt-get install -y curl ca-certificates && rm -rf /var/lib
|
|
| 4 |
|
| 5 |
RUN pip install --no-cache-dir gradio requests
|
| 6 |
|
| 7 |
-
# Download Ollama binary
|
| 8 |
-
RUN curl -L https://
|
| 9 |
chmod +x /usr/bin/ollama
|
| 10 |
|
| 11 |
RUN useradd -m -u 1000 user
|
|
|
|
| 4 |
|
| 5 |
RUN pip install --no-cache-dir gradio requests
|
| 6 |
|
| 7 |
+
# Download Ollama binary from GitHub releases
|
| 8 |
+
RUN curl -L https://github.com/ollama/ollama/releases/download/v0.5.4/ollama-linux-amd64 -o /usr/bin/ollama && \
|
| 9 |
chmod +x /usr/bin/ollama
|
| 10 |
|
| 11 |
RUN useradd -m -u 1000 user
|