14 lines
289 B
Bash
14 lines
289 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "🔧 Caching config, routes and views..."
|
|
php artisan config:cache
|
|
php artisan route:cache
|
|
php artisan view:cache
|
|
|
|
echo "🗄️ Running migrations..."
|
|
php artisan migrate --force
|
|
|
|
echo "🚀 Starting FrankenPHP..."
|
|
exec frankenphp php-server --listen 0.0.0.0:8000
|