Spaces:
Running
Running
Update docker
Browse files
docker
CHANGED
@@ -1,17 +1,6 @@
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.12
|
3 |
|
4 |
-
# Install system dependencies for Ollama
|
5 |
-
RUN apt-get update && apt-get install -y \
|
6 |
-
curl \
|
7 |
-
&& rm -rf /var/lib/apt/lists/*
|
8 |
-
|
9 |
-
# Install Ollama
|
10 |
-
RUN curl -fsSL https://ollama.com/install.sh | sh
|
11 |
-
|
12 |
-
# Install Ollama model (requires separate RUN to prevent layer caching issues)
|
13 |
-
RUN ollama pull llama3:latest
|
14 |
-
|
15 |
# Set the working directory in the container
|
16 |
/
|
17 |
|
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.12
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
# Set the working directory in the container
|
5 |
/
|
6 |
|