Spaces:
Runtime error
Runtime error
Updated Dockerfile for GPU Dependencies
Browse files- Dockerfile +16 -6
Dockerfile
CHANGED
@@ -15,22 +15,32 @@ ENV LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
|
|
15 |
RUN apt-get -y update \
|
16 |
&& apt-get install -y software-properties-common
|
17 |
|
|
|
18 |
RUN apt-get -y update \
|
19 |
&& add-apt-repository ppa:deadsnakes/ppa
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
24 |
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
# # Additional system dependencies
|
29 |
# RUN apt-get -y update \
|
30 |
# && apt-get install -y ffmpeg \
|
31 |
# && apt-get install -y yt-dlp
|
32 |
|
33 |
-
|
34 |
|
35 |
# # FROM python:3.10
|
36 |
|
|
|
15 |
RUN apt-get -y update \
|
16 |
&& apt-get install -y software-properties-common
|
17 |
|
18 |
+
# Adding PPA for Python 3.10
|
19 |
RUN apt-get -y update \
|
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 |
|
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
|
37 |
|
38 |
# # Additional system dependencies
|
39 |
# RUN apt-get -y update \
|
40 |
# && apt-get install -y ffmpeg \
|
41 |
# && apt-get install -y yt-dlp
|
42 |
|
43 |
+
|
44 |
|
45 |
# # FROM python:3.10
|
46 |
|