mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-23 09:12:34 +01:00
fix build using docker-compose
This commit is contained in:
parent
e6fa036b4e
commit
f97393b44e
@ -34,17 +34,11 @@ You can optionally build and browse the documentation using [Docker for Mac, Win
|
||||
Just run:
|
||||
|
||||
```bash
|
||||
$ docker-compose up
|
||||
$ docker-compose up --build
|
||||
```
|
||||
|
||||
Go to [http://localhost:8080/README.html](http://localhost:8080/README.html) to read the generated documentation.
|
||||
|
||||
To only install the dependencies, use `docker-compose` like this:
|
||||
|
||||
```bash
|
||||
$ docker-compose run php php composer.phar install
|
||||
```
|
||||
|
||||
## Patterns
|
||||
|
||||
The patterns can be structured in roughly three different categories. Please click on the [:notebook:](http://en.wikipedia.org/wiki/Software_design_pattern) for a full explanation of the pattern on Wikipedia.
|
||||
|
@ -6,5 +6,3 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- .:/app
|
||||
|
Loading…
x
Reference in New Issue
Block a user