easyappointments/docker/php-fpm/start-container

17 lines
319 B
Bash

#!/bin/bash
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"
npx gulp compile
echo "➜ Listen To Incoming Requests"
php-fpm