docker-compose.yml
16 lines
| 1 | app: |
| 2 | restart: 'on-failure' |
| 3 | image: php:7 |
| 4 | working_dir: /app |
| 5 | command: vendor/bin/phpunit -v -c tests/phpunit.xml --coverage-text --strict-coverage --stop-on-risky |
| 6 | ports: |
| 7 | - "8000:8000" |
| 8 | volumes: |
| 9 | - .:/app |
| 10 | |
| 11 | composer: |
| 12 | restart: 'no' |
| 13 | image: composer/composer:php7 |
| 14 | command: install |
| 15 | volumes: |
| 16 | - .:/app |