lancelotly commited on
Commit
02f15d3
·
verified ·
1 Parent(s): 77a7657

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +7 -1
entrypoint.sh CHANGED
@@ -8,10 +8,16 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash &
8
  node -v &&
9
  npm i -g nodemon ts-node npm@latest &&
10
  source ~/.bashrc &&
 
 
 
 
11
  curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" &&
12
  bash Miniforge3-$(uname)-$(uname -m).sh -b -u &&
13
  eval "$(./miniforge3/bin/conda shell.bash hook)" &&
14
- conda install ipykernel -y --update-deps --force-reinstall
 
 
15
 
16
  if [ -n "$GIT_CLONE_REPOS" ]; then
17
  echo "$GIT_CLONE_REPOS"
 
8
  node -v &&
9
  npm i -g nodemon ts-node npm@latest &&
10
  source ~/.bashrc &&
11
+ export NVM_DIR="$HOME/.nvm" &&
12
+ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" &&
13
+ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" &&
14
+ echo "nvm Ready" &&
15
  curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" &&
16
  bash Miniforge3-$(uname)-$(uname -m).sh -b -u &&
17
  eval "$(./miniforge3/bin/conda shell.bash hook)" &&
18
+ conda init &&
19
+ conda install ipykernel -y --update-deps --force-reinstall &&
20
+ echo "conda Ready"
21
 
22
  if [ -n "$GIT_CLONE_REPOS" ]; then
23
  echo "$GIT_CLONE_REPOS"