bettermint commited on
Commit
95b165c
·
verified ·
1 Parent(s): d50a471

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -13,6 +13,10 @@ RUN pip install python-multipart
13
  RUN pip install --no-cache-dir --upgrade -r /requirements.txt
14
 
15
  # Install LeelaChessZero depencies
 
 
 
 
16
  RUN apt update -y
17
  RUN apt upgrade -y
18
  RUN apt install ocl-icd-opencl-dev -y
 
13
  RUN pip install --no-cache-dir --upgrade -r /requirements.txt
14
 
15
  # Install LeelaChessZero depencies
16
+ RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
17
+ RUN mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
18
+ RUN add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
19
+
20
  RUN apt update -y
21
  RUN apt upgrade -y
22
  RUN apt install ocl-icd-opencl-dev -y