#!/bin/sh # Install dependencies via composer (non-interactive) composer install --no-interaction --prefer-dist --optimize-autoloader # Cache config, routes, views php artisan config:cache php artisan route:cache php artisan view:cache # Jalankan migration otomatis dengan force (untuk production) php artisan migrate --force # Jalankan php-fpm (foreground) exec php-fpm -F