Skip to content

Commit 04f32b3

Browse files
authored
Update README.md
1 parent 772648a commit 04f32b3

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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`

0 commit comments

Comments
 (0)