Skip to content

Commit

Permalink
Only run the composer and npm install if the folder is not there
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Aug 15, 2023
1 parent 0084eb8 commit a212b1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/php-fpm/start-container
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a212b1b

Please sign in to comment.