mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-02 21:17:29 +02:00
fix build using docker-compose
This commit is contained in:
@@ -34,17 +34,11 @@ You can optionally build and browse the documentation using [Docker for Mac, Win
|
|||||||
Just run:
|
Just run:
|
||||||
|
|
||||||
```bash
|
```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.
|
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
|
## 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.
|
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
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
|
||||||
- .:/app
|
|
||||||
|
Reference in New Issue
Block a user