uzi007 commited on
Commit
f616ded
1 Parent(s): 4308999

Updated Dockerfile for GPU Dependencies

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -21,12 +21,15 @@ RUN apt-get -y update \
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
 
32
  # RUN apt-get -y update \
 
21
 
22
  # Install Python 3.10
23
  RUN apt-get -y update \
24
+ && apt-get -y install python3.10 python3-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
+ # Reinstall pip for Python 3.10
30
+ RUN python3.10 -m ensurepip --default-pip
31
+
32
+ # Check Python version
33
  RUN python3 --version
34
 
35
  # RUN apt-get -y update \