Easily run Laravel in docker for production and development environments.
- Copy the
Dockerfileinto the root of the Laravel project. - Create a new (or copy an existing)
.envfile and name it.env.docker, this is the env file the docker container will use. - Build the container using
docker image build .while in the project folder
richarvey/nginx-php-fpm - For the awesome docker container this is based on.