version: '2'

services:
    worm-php:
        image: woohoolabs/php-fpm:7.4
        container_name: worm-php
        volumes:
            - .:/code
        command: /bin/sh -c "cd /code; php vendor/bin/phpunit"

version: '2'

services:
    worm-php:
        image: woohoolabs/php-cli:7.4
        container_name: worm-php
        volumes:
            - .:/code
        command: /bin/sh -c "cd /code; php vendor/bin/phpunit"

Use CLI Docker image for running tests
Use CLI Docker image for running tests
