enabling node 14
This commit is contained in:
@@ -10,10 +10,11 @@ fi
|
||||
echo "Building Lurana Open Source version $1"
|
||||
|
||||
# Install Node.js 14
|
||||
#curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
||||
#export NVM_DIR="$HOME/.nvm"
|
||||
#[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
nvm use 14
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
nvm install 14
|
||||
|
||||
|
||||
# Update and install Composer dependencies
|
||||
composer update
|
||||
@@ -21,9 +22,11 @@ composer install
|
||||
|
||||
echo "Building Laravel+Vue "
|
||||
|
||||
nvm use 14
|
||||
node -v
|
||||
npm install
|
||||
npm run dev
|
||||
ls -lhs workflow/public_html/webapp
|
||||
|
||||
# Construct the Docker image tag name
|
||||
tagname="gitlab.luranasoft.com:5050/luos/core/luos:$1"
|
||||
|
||||
Reference in New Issue
Block a user