Spaces:
Sleeping
Sleeping
Commit
·
542386a
1
Parent(s):
c4f1d8e
Update docker file
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -10,10 +10,14 @@ RUN apt-get update && apt-get install -y \
|
|
10 |
curl \
|
11 |
wget \
|
12 |
git \
|
13 |
-
python3.
|
14 |
python3-pip \
|
|
|
15 |
&& rm -rf /var/lib/apt/lists/*
|
16 |
|
|
|
|
|
|
|
17 |
# Install Ollama
|
18 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
19 |
|
|
|
10 |
curl \
|
11 |
wget \
|
12 |
git \
|
13 |
+
python3.10 \
|
14 |
python3-pip \
|
15 |
+
python3.10-venv \
|
16 |
&& rm -rf /var/lib/apt/lists/*
|
17 |
|
18 |
+
# Create symbolic link for python3
|
19 |
+
RUN ln -sf /usr/bin/python3.10 /usr/bin/python3
|
20 |
+
|
21 |
# Install Ollama
|
22 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
23 |
|