uzi007 commited on
Commit
296f974
1 Parent(s): 5e945e0

Updated Dockerfile for GPU Dependencies

Browse files
Files changed (1) hide show
  1. 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
- RUN apt-get -y update \
22
- && apt-get -y install python3.10 \
23
- && apt-get -y install python3-pip
 
24
 
25
- RUN apt-get -y update \
26
- && apt-get -y install git
 
 
 
 
 
 
 
 
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
- RUN python3 --version
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