diff --git a/entrypoint.sh b/entrypoint.sh index 94901853..0889145f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -75,7 +75,7 @@ echo "Setup complete. Starting application..." echo "========================================" # Start the application with proper error handling -if [ "$MODE" = "dev" ]; then +if [ "$MODE" = "staging" ]; then echo "Starting PHP built-in server on port 8000..." # Use exec with error capture exec php artisan serve --host=0.0.0.0 --port=8000 2>&1 | tee -a /var/log/php-server.log