Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +7 -3
Dockerfile
CHANGED
@@ -4,16 +4,20 @@ FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04
|
|
4 |
ARG DEBIAN_FRONTEND=noninteractive
|
5 |
ENV PYTHONUNBUFFERED=1
|
6 |
|
7 |
-
# Install essential system packages
|
8 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
|
|
|
|
|
9 |
build-essential \
|
10 |
python3.8 \
|
11 |
python3.8-venv \
|
|
|
12 |
python3-pip \
|
13 |
git \
|
14 |
ffmpeg \
|
15 |
-
libglib2.0-0 \
|
16 |
-
|
17 |
|
18 |
# Set the working directory
|
19 |
WORKDIR /code
|
|
|
4 |
ARG DEBIAN_FRONTEND=noninteractive
|
5 |
ENV PYTHONUNBUFFERED=1
|
6 |
|
7 |
+
# Install essential system packages and Python 3.8
|
8 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
9 |
+
software-properties-common && \
|
10 |
+
add-apt-repository -y ppa:deadsnakes/ppa && \
|
11 |
+
apt-get update && apt-get install --no-install-recommends -y \
|
12 |
build-essential \
|
13 |
python3.8 \
|
14 |
python3.8-venv \
|
15 |
+
python3.8-dev \
|
16 |
python3-pip \
|
17 |
git \
|
18 |
ffmpeg \
|
19 |
+
libglib2.0-0 && \
|
20 |
+
apt-get clean && rm -rf /var/lib/apt/lists/*
|
21 |
|
22 |
# Set the working directory
|
23 |
WORKDIR /code
|