Spaces:
Runtime error
Runtime error
Updated Dockerfile for GPU Dependencies
Browse files- Dockerfile +11 -3
Dockerfile
CHANGED
@@ -9,13 +9,21 @@ ENV LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
|
|
9 |
# Set DEBIAN_FRONTEND to noninteractive to prevent interactive prompts
|
10 |
ENV DEBIAN_FRONTEND=noninteractive
|
11 |
|
12 |
-
# Install NVIDIA driver
|
13 |
-
RUN apt-get update && apt-get install -y --no-install-recommends nvidia-driver-460
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
# Additional system dependencies
|
16 |
RUN apt-get install -y ffmpeg && apt-get install -y yt-dlp
|
17 |
|
18 |
-
FROM python:3.10
|
19 |
|
20 |
# Switch back to the root user to install Python packages
|
21 |
USER root
|
|
|
9 |
# Set DEBIAN_FRONTEND to noninteractive to prevent interactive prompts
|
10 |
ENV DEBIAN_FRONTEND=noninteractive
|
11 |
|
12 |
+
# # Install NVIDIA driver
|
13 |
+
# RUN apt-get update && apt-get install -y --no-install-recommends nvidia-driver-460
|
14 |
+
|
15 |
+
RUN apt-get -y update \
|
16 |
+
&& apt-get install -y software-properties-common \
|
17 |
+
&& apt-get -y update \
|
18 |
+
&& add-apt-repository universe
|
19 |
+
RUN apt-get -y update \
|
20 |
+
&& apt-get -y install python3
|
21 |
+
&& apt-get -y install python3-pip
|
22 |
|
23 |
# Additional system dependencies
|
24 |
RUN apt-get install -y ffmpeg && apt-get install -y yt-dlp
|
25 |
|
26 |
+
# FROM python:3.10
|
27 |
|
28 |
# Switch back to the root user to install Python packages
|
29 |
USER root
|