easyappointments/docker/php-fpm/start-container

17 lines
345 B
Text
Raw Normal View History

#!/bin/bash
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