Spaces:
Sleeping
Sleeping
ezequiellopez
commited on
Commit
·
c6dd11e
1
Parent(s):
92b5340
installing dependencies on CUDA image
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
@@ -5,6 +5,14 @@ FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04
|
|
5 |
ARG DEBIAN_FRONTEND=noninteractive
|
6 |
ENV PYTHONUNBUFFERED=1
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
# Set environment variables to prevent Python from writing pyc files to disk
|
9 |
# and to force unbuffered output (useful for Docker)
|
10 |
ENV PYTHONDONTWRITEBYTECODE 1
|
|
|
5 |
ARG DEBIAN_FRONTEND=noninteractive
|
6 |
ENV PYTHONUNBUFFERED=1
|
7 |
|
8 |
+
RUN apt-get update && apt-get install --no-install-recommends -y \
|
9 |
+
build-essential \
|
10 |
+
python3.9 \
|
11 |
+
python3-pip \
|
12 |
+
git \
|
13 |
+
ffmpeg \
|
14 |
+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
15 |
+
|
16 |
# Set environment variables to prevent Python from writing pyc files to disk
|
17 |
# and to force unbuffered output (useful for Docker)
|
18 |
ENV PYTHONDONTWRITEBYTECODE 1
|