uzi007 commited on
Commit
80f3d8b
1 Parent(s): 8494b79

Updated Dockerfile for GPU Dependencies

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -19
Dockerfile CHANGED
@@ -6,35 +6,31 @@ ENV CUDA_HOME=/usr/local/cuda
6
  ENV PATH=$CUDA_HOME/bin:$PATH
7
  ENV LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
8
 
9
- # Check CUDA version
10
- RUN nvcc --version
11
-
12
- # Check NVIDIA driver version
13
- RUN nvidia-smi
14
-
15
  # # Set DEBIAN_FRONTEND to noninteractive to prevent interactive prompts
16
  # ENV DEBIAN_FRONTEND=noninteractive
17
 
18
  # # Install NVIDIA driver
19
  # RUN apt-get update && apt-get install -y --no-install-recommends nvidia-driver-460
20
 
21
- # RUN apt-get -y update \
22
- # && apt-get install -y software-properties-common
 
 
 
23
 
24
- # RUN apt-get -y update \
25
- # && add-apt-repository ppa:deadsnakes/ppa
 
26
 
27
- # RUN apt-get -y update \
28
- # && apt-get -y install python3.10 \
29
- # && apt-get -y install python3-pip
30
 
31
- # RUN apt-get -y update \
32
- # && apt-get -y install git
 
 
33
 
34
- # # Additional system dependencies
35
- # RUN apt-get -y update \
36
- # && apt-get install -y ffmpeg \
37
- # && apt-get install -y yt-dlp
38
 
39
  # # FROM python:3.10
40
 
 
6
  ENV PATH=$CUDA_HOME/bin:$PATH
7
  ENV LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
8
 
 
 
 
 
 
 
9
  # # Set DEBIAN_FRONTEND to noninteractive to prevent interactive prompts
10
  # ENV DEBIAN_FRONTEND=noninteractive
11
 
12
  # # Install NVIDIA driver
13
  # RUN apt-get update && apt-get install -y --no-install-recommends nvidia-driver-460
14
 
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 python --version
 
 
 
34
 
35
  # # FROM python:3.10
36