To install all dependencies, run:
docker-compose run --rm composer install
To run application itself, run:
docker-compose run --rm php php index.php
To run Behat tests, run:
docker-compose run --rm php ./vendor/bin/behat
To run ECS check, run:
docker-compose run --rm php ./vendor/bin/ecs check
I just wanted to check out PHP 7.4 (especially new arrow functions and typed properties), League's CLImate library, Behat testing and running entire console PHP project from Docker. It was fun.
Someday probably I'll extend the game itself, just for the fun.