Simple Php7.4/Composer/phpunit env launched with docker
- git clone [email protected]:Loic-Hakisa/Docker-PHP.git
- cd Docker-PHP
- docker-compose run composer install
- docker-compose run phpunit
Files from local git /src folder are available in container's /var/www/html/ folder.
- docker-compose up -d fpm
- docker-compose exec fpm bash
- php info.php
- docker-compose down