Skip to content

Commit 405cc2e

Browse files
committed
Fix test error not found vendor
1 parent 85c33a1 commit 405cc2e

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

README.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,27 @@ Repository of `oanhnn/php-stack` Docker image.
1717
- [x] Install curl
1818

1919
## Requirement
20+
2021
- Docker Engine & Docker Compose
2122

2223
## Usage
2324

2425
Example for a Laravel application
2526

2627
1. Copy all file in `example-laravel` folder to your project root folder
27-
28-
2. Build and run
29-
30-
```bash
31-
$ docker-compose build app
32-
$ docker-compose up -d
33-
```
28+
2. Uncomment this code in `docker-compose.yml` (line 82-83)
29+
30+
```yml
31+
# volumes:
32+
# - .:/var/www/html
33+
```
34+
35+
3. Build and run
36+
37+
```bash
38+
$ docker-compose build app
39+
$ docker-compose up -d
40+
```
3441

3542
## Contributing
3643

example-laravel/docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ services:
7979
# SESSION_DRIVER: redis
8080
# CACHE_DRIVER: redis
8181
# BROADCAST_DRIVER: redis
82-
volumes:
83-
- .:/var/www/html
82+
# volumes:
83+
# - .:/var/www/html
8484
networks:
8585
- internal
8686
restart: unless-stopped

0 commit comments

Comments
 (0)