mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 12:32:58 +00:00
Use mamba instead of conda where possible
This commit is contained in:
@@ -25,8 +25,8 @@ rm -rf /tmp/src
|
||||
# use 'pip' instead.
|
||||
|
||||
if [ -f "/home/${NB_USER}/environment.yml" ]; then
|
||||
conda env update --name root --file "/home/${NB_USER}/environment.yml"
|
||||
conda clean --all -f -y
|
||||
mamba env update --name root --file "/home/${NB_USER}/environment.yml"
|
||||
mamba clean --all -f -y
|
||||
else
|
||||
if [ -f "/home/${NB_USER}/requirements.txt" ]; then
|
||||
pip --no-cache-dir install -r "/home/${NB_USER}/requirements.txt"
|
||||
|
Reference in New Issue
Block a user