Inspired by https://github.com/nielsvandoorn/docker-laravel-phpunit
Run the following command to run tests within the docker image:
docker run -v $(pwd):/app --rm nielsvdoorn/laravel-phpunit:latest ./vendor/bin/phpunit --configuration phpunit.xml tests
Feel free to open an issue in this repository. Contributions are also more than welcome.