diff --git a/docker/php-fpm/start-container b/docker/php-fpm/start-container index 61a2f243..cefa2cd2 100644 --- a/docker/php-fpm/start-container +++ b/docker/php-fpm/start-container @@ -4,10 +4,10 @@ echo "➜ Set Correct Permissions" chmod -R 777 storage echo "➜ Install Composer Dependencies" -composer install +[[ -d vendor ]] || composer install echo "➜ Install NPM Dependencies" -npm install +[[ -d node_modules ]] || npm install echo "➜ Build Project Assets" npx gulp compile