Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -19,10 +19,10 @@ RUN apt-get update && \
|
|
19 |
# Install Python 3.12 (as recommended)
|
20 |
RUN add-apt-repository ppa:deadsnakes/ppa && \
|
21 |
apt-get update && \
|
22 |
-
apt-get install -y python3.
|
23 |
-
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.
|
24 |
-
update-alternatives --set python3 /usr/bin/python3.
|
25 |
-
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.
|
26 |
|
27 |
# Install uv for faster dependency management
|
28 |
RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
|
|
|
19 |
# Install Python 3.12 (as recommended)
|
20 |
RUN add-apt-repository ppa:deadsnakes/ppa && \
|
21 |
apt-get update && \
|
22 |
+
apt-get install -y python3.11 python3.11-venv python3.11-dev && \
|
23 |
+
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 && \
|
24 |
+
update-alternatives --set python3 /usr/bin/python3.11 && \
|
25 |
+
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
|
26 |
|
27 |
# Install uv for faster dependency management
|
28 |
RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
|