PHP code example of blamebutton / laravel-docker-builder
1. Go to this page and download the library: Download blamebutton/laravel-docker-builder library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
blamebutton / laravel-docker-builder example snippets
shell
php artisan docker:generate --detect
shell
php artisan docker:generate
shell
php artisan vendor:publish --provider="BlameButton\LaravelDockerBuilder\DockerServiceProvider"
shell
DOCKER_NGINX_TAG=laravel-app:nginx
DOCKER_PHP_TAG=laravel-app:php