Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
|
2 |
FROM nvidia/cuda:12.5.1-cudnn-devel-ubuntu22.04
|
3 |
|
4 |
-
|
5 |
-
USER user
|
6 |
|
7 |
ENV HOME=/home/user \
|
8 |
PYTHONUNBUFFERED=1 \
|
@@ -17,8 +16,8 @@ WORKDIR $HOME/app
|
|
17 |
COPY --chown=user . $HOME/app
|
18 |
run chmod -R a+xrw .
|
19 |
|
20 |
-
run
|
21 |
-
run
|
22 |
run mkdir -p ~/miniconda3
|
23 |
run wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
|
24 |
run bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
|
|
|
1 |
|
2 |
FROM nvidia/cuda:12.5.1-cudnn-devel-ubuntu22.04
|
3 |
|
4 |
+
USER root
|
|
|
5 |
|
6 |
ENV HOME=/home/user \
|
7 |
PYTHONUNBUFFERED=1 \
|
|
|
16 |
COPY --chown=user . $HOME/app
|
17 |
run chmod -R a+xrw .
|
18 |
|
19 |
+
run apt update
|
20 |
+
run apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv libgl1-mesa-glx
|
21 |
run mkdir -p ~/miniconda3
|
22 |
run wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
|
23 |
run bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
|