Spaces:
Paused
Paused
dockerfile copy and paste
Browse files- Dockerfile +21 -13
Dockerfile
CHANGED
|
@@ -1,19 +1,27 @@
|
|
| 1 |
FROM nvidia/cuda:12.6.0-runtime-ubuntu22.04
|
| 2 |
|
| 3 |
RUN useradd -m -u 1001 user
|
| 4 |
-
# System
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
# Create virtualenv
|
| 19 |
RUN python3 -m venv /opt/venv
|
|
|
|
| 1 |
FROM nvidia/cuda:12.6.0-runtime-ubuntu22.04
|
| 2 |
|
| 3 |
RUN useradd -m -u 1001 user
|
| 4 |
+
# System depsFROM pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel
|
| 5 |
+
|
| 6 |
+
RUN apt update && apt upgrade -y
|
| 7 |
+
RUN apt-get -y install software-properties-common
|
| 8 |
+
RUN add-apt-repository -y ppa:fish-shell/release-4
|
| 9 |
+
RUN apt-get -y install git fish tmux
|
| 10 |
+
|
| 11 |
+
RUN python -m pip install ffmpeg-python
|
| 12 |
+
RUN python -m pip install tqdm
|
| 13 |
+
|
| 14 |
+
RUN apt-get -y install curl
|
| 15 |
+
RUN apt-get install -y ffmpeg
|
| 16 |
+
|
| 17 |
+
RUN apt-get install -y libgl1-mesa-glx
|
| 18 |
+
RUN apt-get install -y libglib2.0-0
|
| 19 |
+
RUN apt-get install -y build-essential
|
| 20 |
+
RUN apt-get install -y ninja-build
|
| 21 |
+
|
| 22 |
+
RUN python -m pip install opencv-python==4.10.0.84
|
| 23 |
+
RUN python -m pip install matplotlib
|
| 24 |
+
RUN python -m pip install decord
|
| 25 |
|
| 26 |
# Create virtualenv
|
| 27 |
RUN python3 -m venv /opt/venv
|