uzi007 commited on
Commit
9f486a2
1 Parent(s): f616ded

Updated Dockerfile for GPU Dependencies

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -26,11 +26,13 @@ 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 \
36
  # && apt-get -y install git
 
26
  RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2
27
  RUN update-alternatives --config python3
28
 
29
+ # Download and install pip for Python 3.10
30
+ RUN curl -O https://bootstrap.pypa.io/get-pip.py \
31
+ && python3.10 get-pip.py
32
 
33
+ # Check Python and pip versions
34
+ RUN python3.10 --version \
35
+ && pip --version
36
 
37
  # RUN apt-get -y update \
38
  # && apt-get -y install git