Spaces:
Runtime error
Runtime error
Updated Dockerfile for GPU Dependencies
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
@@ -21,13 +21,17 @@ RUN apt-get -y update \
|
|
21 |
|
22 |
# Install Python 3.10
|
23 |
RUN apt-get -y update \
|
24 |
-
&& apt-get -y
|
25 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
|
26 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2
|
27 |
RUN update-alternatives --config python3
|
28 |
|
|
|
|
|
|
|
29 |
# Download and install pip for Python 3.10
|
30 |
-
RUN
|
|
|
31 |
|
32 |
# Check Python and pip versions
|
33 |
RUN python3.10 --version \
|
|
|
21 |
|
22 |
# Install Python 3.10
|
23 |
RUN apt-get -y update \
|
24 |
+
&& apt-get install -y python3.10 python3.10-distutils
|
25 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
|
26 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2
|
27 |
RUN update-alternatives --config python3
|
28 |
|
29 |
+
# Install curl
|
30 |
+
RUN apt-get update && apt-get install -y curl
|
31 |
+
|
32 |
# Download and install pip for Python 3.10
|
33 |
+
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
34 |
+
RUN python3.10 get-pip.py
|
35 |
|
36 |
# Check Python and pip versions
|
37 |
RUN python3.10 --version \
|