Dockerfile for PHP and Laravel: Best Practices | DevSense
How to build a production Laravel image: a multi-stage Dockerfile for PHP-FPM and Vite assets, Composer and npm layer caching, OPcache, non-root, secrets, healthchecks and one image for web, workers and the scheduler.