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 1
1
[ ![ Packagist Version] ( https://img.shields.io/packagist/v/blamebutton/laravel-docker-builder )] ( https://packagist.org/packages/blamebutton/laravel-docker-builder )
2
2
![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/blamebutton/laravel-docker-builder/phpunit.yml )
3
3
4
- # Laravel Docker Build
4
+ # Laravel Docker Builder
5
5
6
6
## Installation
7
7
@@ -28,6 +28,20 @@ DOCKER_PHP_TAG=laravel-app:php
28
28
29
29
## Usage
30
30
31
+ ### Detect Configuration
32
+
31
33
``` shell
32
- php artisan docker:build
34
+ php artisan docker:build --detect
33
35
```
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