From 6ffb2b6ed988638dca902f59cea3944677b800fb Mon Sep 17 00:00:00 2001 From: Ruben Momoa Date: Wed, 28 Aug 2024 13:46:01 +0200 Subject: [PATCH] fix for none root users move npm cache to /tmp --- build/start-container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/start-container.sh b/build/start-container.sh index e1fa2e3..31ccfce 100644 --- a/build/start-container.sh +++ b/build/start-container.sh @@ -23,7 +23,7 @@ fi if [[ "$BOOT_NPM_INSTALL" = true ]]; then echo "npm install" - npm install + npm install --cache /tmp/npm fi if [ ! -f /var/www/html/artisan ]; then