What:
Support FrankenPHP to embed a Laravel application into a standalone binary that can run the application.
Why:
This feature allows the use of FrankenPHP's ./build-static.sh script to embed a Laravel app into a standalone binary containing: PHP interpreter, Caddy web server, and the Laravel app.
This neat feature was suggested in the Fly.io community forum by Fly.io community member ricardosawir!
How:
Revise the Dockerfile generated to:
include a new build stage that will use FrankenPHP's Docker-based builder to embed the Laravel app into a binary
run the generated binary and set the port to 8080 to allow the app to deploy successfully in Fly.io
What: Support FrankenPHP to embed a Laravel application into a standalone binary that can run the application.
Why:
This feature allows the use of FrankenPHP's
./build-static.sh
script to embed a Laravel app into a standalone binary containing: PHP interpreter, Caddy web server, and the Laravel app.This neat feature was suggested in the Fly.io community forum by Fly.io community member ricardosawir!
How: