composer before npm

This commit is contained in:
Ruben Momoa
2024-08-23 15:13:40 +02:00
parent 119d49f46b
commit f908ab0ddc

View File

@@ -16,16 +16,16 @@ if [[ ! -f /etc/first_boot ]]; then
touch /etc/first_boot
fi
if [[ "$BOOT_NPM_INSTALL" = true ]]; then
echo "npm install"
npm install
fi
if [[ "$BOOT_COMPOSER_INSTALL" = true ]]; then
echo "composer install"
composer install
fi
if [[ "$BOOT_NPM_INSTALL" = true ]]; then
echo "npm install"
npm install
fi
if [ ! -f /var/www/html/artisan ]; then
echo "No existing Laravel project found"
exit