Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 \
|
13 |
-
|
14 |
-
|
15 |
-
|
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 .
|