Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -13,14 +13,9 @@ 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 install software-properties-common -y
|
| 18 |
-
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
|
| 19 |
-
RUN mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
|
| 20 |
-
RUN add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
|
| 21 |
-
|
| 22 |
RUN apt update -y
|
| 23 |
RUN apt upgrade -y
|
|
|
|
| 24 |
RUN apt install ocl-icd-opencl-dev -y
|
| 25 |
RUN apt install cuda -y
|
| 26 |
RUN apt install zlib1g -y
|
|
|
|
| 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-cache search nvidia-cuda-toolkit
|
| 19 |
RUN apt install ocl-icd-opencl-dev -y
|
| 20 |
RUN apt install cuda -y
|
| 21 |
RUN apt install zlib1g -y
|