File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 11[ ![ Packagist Version] ( https://img.shields.io/packagist/v/blamebutton/laravel-docker-builder )] ( https://packagist.org/packages/blamebutton/laravel-docker-builder )
22![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/blamebutton/laravel-docker-builder/phpunit.yml )
33
4- # Laravel Docker Build
4+ # Laravel Docker Builder
55
66## Installation
77
@@ -28,6 +28,20 @@ DOCKER_PHP_TAG=laravel-app:php
2828
2929## Usage
3030
31+ ### Detect Configuration
32+
3133``` shell
32- php artisan docker:build
34+ php artisan docker:build --detect
3335```
36+
37+ When ` --detect ` is passed to the ` docker:build ` command, it will automatically detect the following requirements:
38+
39+ * PHP version, detected using the ` php ` version in your ` composer.json `
40+ * PHP extensions, detected using the configuration of your project:
41+ * Cache driver: Redis, Memcached, APC
42+ * Database driver: MySQL, Postgres, SQL Server
43+ * Broadcasting driver: Redis
44+ * Queue driver: Redis
45+ * Session driver: Redis, Memcached, APC
46+ * Node package manager, detected using the existence of ` package-lock.json ` or ` yarn.lock `
47+ * Node build tool, detected using the existence of ` vite.config.js ` or ` webpack.mix.js `
You can’t perform that action at this time.
0 commit comments