banao-tech commited on
Commit
1bf4338
·
verified ·
1 Parent(s): 574e1e7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -3,16 +3,15 @@ FROM docker.io/nvidia/cuda:12.2.2-runtime-ubuntu22.04@sha256:94c1577b2cd9dd6c031
3
  USER root
4
 
5
  # Install system dependencies
6
- RUN chmod 1777 /tmp \
7
- && apt update -q && apt install -y \
8
  ca-certificates \
9
  wget \
10
  libgl1 \
11
  python3-pip \
12
- libssl3 \ # Use libssl3 instead of libssl1.1 (if no specific requirement for 1.1)
13
- && wget -qO /tmp/cuda-keyring.deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb \
14
- && dpkg -i /tmp/cuda-keyring.deb && apt update -q \
15
- && apt install -y --no-install-recommends libcudnn8 libcublas-12-2
16
 
17
  # Install Python packages
18
  COPY requirements.txt .
 
3
  USER root
4
 
5
  # Install system dependencies
6
+ RUN chmod 1777 /tmp && apt update -q && apt install -y \
 
7
  ca-certificates \
8
  wget \
9
  libgl1 \
10
  python3-pip \
11
+ libssl3 && \
12
+ wget -qO /tmp/cuda-keyring.deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb && \
13
+ dpkg -i /tmp/cuda-keyring.deb && apt update -q && \
14
+ apt install -y --no-install-recommends libcudnn8 libcublas-12-2
15
 
16
  # Install Python packages
17
  COPY requirements.txt .