Yaron Koresh commited on
Commit
f841f3c
·
verified ·
1 Parent(s): 89734ab

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -29,11 +29,10 @@ 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
33
- run ./configure --enable-optimizations --with-lto --prefix=$HOME/python
34
- run make
35
- run make install
36
- run PATH="$HOME/python${PATH:+:${PATH}}"
37
 
38
  run python -m pip install --upgrade --no-cache-dir pip
39
  run python -m pip install --upgrade --no-cache-dir -r deps.txt
 
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"
 
36
 
37
  run python -m pip install --upgrade --no-cache-dir pip
38
  run python -m pip install --upgrade --no-cache-dir -r deps.txt