Created
May 21, 2018 12:47
-
-
Save ivankristianto/b252113880b8bc577eabd2b1cfe5af6b to your computer and use it in GitHub Desktop.
Run PHP cli script with 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 -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:7.0-cli php script.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment