Created
September 21, 2023 09:40
-
-
Save ziadoz/1ce2565ac4968ef1fc2acc0be9a1c06f to your computer and use it in GitHub Desktop.
Test PHP Projects Using Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm --interactive --tty --volume $PWD:/app composer install | |
docker run -it --rm --name laravel-dusk -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:8.2-cli php vendor/bin/phpunit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment