Improved docker build speed

This commit is contained in:
2025-04-20 16:06:47 +02:00
parent def822d61f
commit 568ec4b66d
4 changed files with 38 additions and 25 deletions

View File

@@ -56,7 +56,7 @@ fi
if ! command -v node &> /dev/null; then
echo "Installing Node.js..."
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
export NVM_DIR="/root/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install node
fi