fffiloni commited on
Commit
25a8778
·
verified ·
1 Parent(s): 5c6ff7e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -47,18 +47,17 @@ RUN apt-get update && apt-get install -y \
47
  && curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub | gpg --batch --yes --dearmor -o /usr/share/keyrings/cuda-archive-keyring.gpg && \
48
  echo "deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /" > /etc/apt/sources.list.d/cuda.list && \
49
  apt-get update && apt-get install -y \
50
- cudnn-cuda-11 \
 
 
51
  && rm -rf /var/lib/apt/lists/*
52
 
53
  # Verify cuDNN installation
54
- RUN dpkg-query -W libcudnn9
55
 
56
  # Verify Python and pip versions
57
  RUN python --version && pip --version
58
 
59
-
60
-
61
-
62
  USER user
63
  # Copy dependencies and install them via pip
64
  COPY . .
 
47
  && curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub | gpg --batch --yes --dearmor -o /usr/share/keyrings/cuda-archive-keyring.gpg && \
48
  echo "deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /" > /etc/apt/sources.list.d/cuda.list && \
49
  apt-get update && apt-get install -y \
50
+ libcudnn8=8.9.3.0-1+cuda11.8 \
51
+ libcudnn8-dev=8.9.3.0-1+cuda11.8 \
52
+ libcudnn8-doc=8.9.3.0-1+cuda11.8 \
53
  && rm -rf /var/lib/apt/lists/*
54
 
55
  # Verify cuDNN installation
56
+ RUN dpkg-query -W libcudnn8
57
 
58
  # Verify Python and pip versions
59
  RUN python --version && pip --version
60
 
 
 
 
61
  USER user
62
  # Copy dependencies and install them via pip
63
  COPY . .