frankendeploy build
frankendeploy build
Generate Dockerfile and compose files
Synopsis
Generates Docker configuration files based on frankendeploy.yaml:
- Dockerfile (multi-stage build with FrankenPHP)
- docker-entrypoint.sh (handles composer install, migrations)
- compose.yaml (development environment)
- compose.prod.yaml (production environment)
- .dockerignore
frankendeploy build [flags]
Options
--all Generate all files
--compose Generate only docker-compose files
--dockerfile Generate only Dockerfile
-h, --help help for build
Options inherited from parent commands
--config string Config file (default: frankendeploy.yaml)
-v, --verbose Show detailed logs
-y, --yes Skip confirmations (CI/CD mode)
SEE ALSO
- frankendeploy - Deploy Symfony applications with FrankenPHP