Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -38,6 +38,9 @@ RUN apt-get update
|
|
38 |
# Install Python 3.12, pip, and other necessary development tools
|
39 |
RUN apt-get install -y tzdata git python3.12 python3.12-venv python3.12-dev python3.12-full
|
40 |
|
|
|
|
|
|
|
41 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 \
|
42 |
&& update-alternatives --set python3 /usr/bin/python3.12 \
|
43 |
&& ln -sf /usr/bin/python3.12-config /usr/bin/python3-config
|
|
|
38 |
# Install Python 3.12, pip, and other necessary development tools
|
39 |
RUN apt-get install -y tzdata git python3.12 python3.12-venv python3.12-dev python3.12-full
|
40 |
|
41 |
+
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
42 |
+
RUN python3.12 get-pip.py
|
43 |
+
|
44 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 \
|
45 |
&& update-alternatives --set python3 /usr/bin/python3.12 \
|
46 |
&& ln -sf /usr/bin/python3.12-config /usr/bin/python3-config
|