feat: entry point
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user