Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -16,7 +16,7 @@ WORKDIR $HOME/app
|
|
16 |
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 libgl1 libglx-mesa0
|
21 |
|
22 |
run mkdir -p ~/miniconda3
|
@@ -31,6 +31,7 @@ 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"
|
36 |
|
|
|
16 |
COPY --chown=user . $HOME/app
|
17 |
run chmod -R a+xrw .
|
18 |
|
19 |
+
run apt-get 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
|
|
|
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 python && make test
|
35 |
run cd cpython && make install
|
36 |
run PATH="${PATH:+${PATH}:}$HOME/python"
|
37 |
|