@@ -13,9 +13,9 @@ elif [ -z "${DIR}" ]; then
13
13
/miniconda/bin/conda init
14
14
source ~ /.bashrc
15
15
if [ -f " environment.yml" ]; then
16
- conda install -c conda-forge mamba -y
17
- mamba env create -f environment.yml --prefix ~ /.conda/envs/developer
18
- ~ /.conda/envs/developer/bin/python streamlit run $ENTRY --server.port=8501 --server.address=0.0.0.0
16
+ rm -rf ~ /. conda/envs/developer
17
+ /miniconda/bin/conda env create -f environment.yml --prefix ~ /.conda/envs/developer
18
+ ~ /.conda/envs/developer/bin/python -m streamlit run $ENTRY --server.port=8501 --server.address=0.0.0.0
19
19
elif [ -f " requirements.txt" ]; then
20
20
/miniconda/bin/python -m pip install -r requirements.txt --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org
21
21
/miniconda/bin/python -m streamlit run $ENTRY --server.port=8501 --server.address=0.0.0.0
@@ -33,10 +33,9 @@ elif [ -z "${REPO}" ]; then
33
33
/miniconda/bin/conda init
34
34
source ~ /.bashrc
35
35
if [ -f " environment.yml" ]; then
36
- conda install -c conda-forge mamba -y
37
- rm ~ /.conda/envs/developer
38
- mamba env create -f environment.yml --prefix ~ /.conda/envs/developer
39
- ~ /.conda/envs/developer/bin/python streamlit run $ENTRY --server.port=8501 --server.address=0.0.0.0
36
+ rm -rf ~ /.conda/envs/developer
37
+ /miniconda/bin/conda env create -f environment.yml --prefix ~ /.conda/envs/developer
38
+ ~ /.conda/envs/developer/bin/python -m streamlit run $ENTRY --server.port=8501 --server.address=0.0.0.0
40
39
elif [ -f " requirements.txt" ]; then
41
40
/miniconda/bin/python -m pip install -r requirements.txt --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org
42
41
/miniconda/bin/python -m streamlit run $ENTRY --server.port=8501 --server.address=0.0.0.0
0 commit comments