This is a simple package that creates some commands to run easily a docker container in order to serve you laravel app from docker.
This is meant only for development purposes.
composer require wartisans/docker-laravel --dev
if you want to change any of the configurations you can publish the docker-laravel.php
configuration, if not, it will just take the defaults.
php artisan vendor:publish --provider="WebArtisans\\DockerLaravel\\Providers\\DockerLaravelServiceProvider"
To serve your current project you can just run
php artisan docker:serve
To stop the current container
php artisan docker:stop
To remove the container
php artisan docker:remove
If you would like to contribute, you're welcome to do so.