A multi-stage, production-ready docker template for Laravel applications.
- Production-ready
- Optimised for build time & size
- Frontend webpack asset compiling
- Backend composer requirements
- Ready to ship to a production cluster
- Laravel version
>=5.7
- Docker version
>=17.05
(for multi-stage builds)
- Copy the
.docker
folder and.dockerignore
into your project - Run
docker build -f .docker/Dockerfile .
and ship the image!