- Install dependencies in a cached layer (composer.json/lock only), then
dump the optimized autoloader after copying the app
- Entrypoint only runs composer install if vendor/ is missing (e.g. when
the app directory is mounted as a volume)
- Force LF for *.sh so the entrypoint works when built from a Windows checkout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>