fix for none root users move npm cache to /tmp
All checks were successful
ci/woodpecker/push/build_dev Pipeline was successful
All checks were successful
ci/woodpecker/push/build_dev Pipeline was successful
This commit is contained in:
@@ -23,7 +23,7 @@ fi
|
|||||||
|
|
||||||
if [[ "$BOOT_NPM_INSTALL" = true ]]; then
|
if [[ "$BOOT_NPM_INSTALL" = true ]]; then
|
||||||
echo "npm install"
|
echo "npm install"
|
||||||
npm install
|
npm install --cache /tmp/npm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f /var/www/html/artisan ]; then
|
if [ ! -f /var/www/html/artisan ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user