Spaces:
Runtime error
Runtime error
Sébastien De Greef
commited on
Commit
·
aa7a61c
1
Parent(s):
b0fe074
chore: Update Dockerfile to remove installation of nvidia-container-toolkit
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -37,10 +37,10 @@ ENV PATH="/home/chatbot/.local/bin:${PATH}"
|
|
37 |
# && sudo cp /var/cudnn-local-repo-ubuntu2204-9.1.1/cudnn-*-keyring.gpg /usr/share/keyrings/ \
|
38 |
# && sudo apt-get update && sudo apt-get -y install cudnn
|
39 |
|
40 |
-
RUN curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
|
41 |
-
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
|
42 |
-
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
|
43 |
-
|
44 |
|
45 |
# Create a working directory
|
46 |
WORKDIR /app
|
|
|
37 |
# && sudo cp /var/cudnn-local-repo-ubuntu2204-9.1.1/cudnn-*-keyring.gpg /usr/share/keyrings/ \
|
38 |
# && sudo apt-get update && sudo apt-get -y install cudnn
|
39 |
|
40 |
+
#RUN curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
|
41 |
+
# && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
|
42 |
+
# sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
|
43 |
+
# sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
|
44 |
|
45 |
# Create a working directory
|
46 |
WORKDIR /app
|