Spaces:
Running
Running
Yaron Koresh
commited on
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -17,7 +17,7 @@ COPY --chown=user . $HOME/app
|
|
17 |
run chmod -R a+xrw .
|
18 |
|
19 |
run apt update
|
20 |
-
run apt-get install -y git curl nvidia-cuda-toolkit wget git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv
|
21 |
|
22 |
run mkdir -p ~/miniconda3
|
23 |
run wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
|
@@ -29,7 +29,7 @@ run ~/miniconda3/bin/conda env create -f ./env.yml
|
|
29 |
|
30 |
run git lfs install --force
|
31 |
run git clone https://github.com/python/cpython
|
32 |
-
run cd cpython && ./configure --enable-optimizations --with-lto --prefix=$HOME/python
|
33 |
run cd cpython && make
|
34 |
run cd cpython && make install
|
35 |
run PATH="${PATH:+${PATH}:}$HOME/python"
|
|
|
17 |
run chmod -R a+xrw .
|
18 |
|
19 |
run apt update
|
20 |
+
run apt-get install -y git curl nvidia-cuda-toolkit wget git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv libgl1 libglx-mesa0
|
21 |
|
22 |
run mkdir -p ~/miniconda3
|
23 |
run wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
|
|
|
29 |
|
30 |
run git lfs install --force
|
31 |
run git clone https://github.com/python/cpython
|
32 |
+
run cd cpython && ./configure --enable-optimizations --with-lto --prefix=$HOME/python --with-system-libmpdec=no
|
33 |
run cd cpython && make
|
34 |
run cd cpython && make install
|
35 |
run PATH="${PATH:+${PATH}:}$HOME/python"
|