Changing the composer/composer image by the official image much lighter and updated

Minor update of commands related to Composer
This commit is contained in:
Vincent Letourneau
2017-08-03 13:33:57 +02:00
parent e479945f53
commit 80fd60aea2
3 changed files with 5 additions and 5 deletions

View File

@@ -249,13 +249,13 @@ make help
### Updating PHP dependencies with composer
```sh
sudo docker run --rm -v $(pwd)/web/app:/app composer/composer update
sudo docker run --rm -v $(pwd)/web/app:/app composer update
```
### Generating PHP API documentation
```sh
sudo docker exec $(sudo docker-compose ps -q php) php ./app/vendor/apigen/apigen/bin/apigen generate -s app/src -d app/doc
sudo docker exec $(sudo docker-compose ps -q php) ./app/vendor/bin/apigen generate app/src --destination app/doc
```
### Testing PHP application with PHPUnit