iflrandevu/docker/php-fpm/start-container

20 lines
414 B
Plaintext
Raw Normal View History

#!/bin/bash
echo "➜ Ignore Permission Changes"
git config core.fileMode false
2023-07-26 13:40:46 +03:00
echo "➜ Set Correct Permissions"
chmod -R 777 storage
echo "➜ Install Composer Dependencies"
[[ -d vendor ]] || composer install
echo "➜ Install NPM Dependencies"
[[ -d node_modules ]] || npm install
echo "➜ Build Project Assets"
[[ -d assets/vendor ]] || npx gulp compile
echo "➜ Listen To Incoming Requests"
php-fpm