Spaces:
Runtime error
Runtime error
Updated Dockerfile for GPU Dependencies
Browse files- Dockerfile +4 -6
Dockerfile
CHANGED
@@ -20,17 +20,15 @@ RUN apt-get -y update \
|
|
20 |
&& add-apt-repository ppa:deadsnakes/ppa
|
21 |
|
22 |
# Install Python 3.10
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
RUN apt-get update && apt-get install -y python3.10
|
29 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
|
30 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2
|
31 |
RUN update-alternatives --config python3
|
32 |
|
33 |
RUN python3 --version
|
|
|
34 |
|
35 |
# RUN apt-get -y update \
|
36 |
# && apt-get -y install git
|
|
|
20 |
&& add-apt-repository ppa:deadsnakes/ppa
|
21 |
|
22 |
# Install Python 3.10
|
23 |
+
RUN apt-get -y update \
|
24 |
+
&& apt-get -y install python3.10 \
|
25 |
+
&& apt-get -y install python3-pip
|
|
|
|
|
|
|
26 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
|
27 |
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2
|
28 |
RUN update-alternatives --config python3
|
29 |
|
30 |
RUN python3 --version
|
31 |
+
RUN pip -V
|
32 |
|
33 |
# RUN apt-get -y update \
|
34 |
# && apt-get -y install git
|