Created
January 24, 2019 17:19
-
-
Save mdurys/e52c1a87310a065c98d7a9b9776002b7 to your computer and use it in GitHub Desktop.
Setting up Symfony project with Composer in Docker
This file contains hidden or 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 --user $(id -u):$(id -g) composer create-project symfony/skeleton my-api | |
| cd my-api | |
| docker run --rm --interactive --tty --volume $PWD:/app --user $(id -u):$(id -g) composer require --dev phpunit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment