lancelotly commited on
Commit
fae2125
·
verified ·
1 Parent(s): c344bac

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +10 -0
entrypoint.sh CHANGED
@@ -1,5 +1,15 @@
1
  #!/bin/bash
2
 
 
 
 
 
 
 
 
 
 
 
3
  if [ -n "$GIT_CLONE_REPOS" ]; then
4
  echo "$GIT_CLONE_REPOS"
5
  git config --global user.email "$GIT_USER"
 
1
  #!/bin/bash
2
 
3
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash && \
4
+ export NVM_DIR="$HOME/.nvm" && \
5
+ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
6
+ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" && \
7
+ nvm ls-remote && \
8
+ nvm install 22 && \
9
+ node -v && \
10
+ npm i -g nodemon ts-node npm@latest && \
11
+ node -v
12
+
13
  if [ -n "$GIT_CLONE_REPOS" ]; then
14
  echo "$GIT_CLONE_REPOS"
15
  git config --global user.email "$GIT_USER"