#!/bin/sh sleep 10 if [ -z "$(grep '^APP_KEY=' /var/www/html/.env)" ]; then php artisan key:generate fi php artisan migrate --force php-fpm