Last active
October 2, 2023 05:13
-
-
Save streamtw/44e6aff2dfa535ce59bb9a1c8cd39392 to your computer and use it in GitHub Desktop.
Run 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
# install docker image of Composer | |
docker pull composer | |
# create alias in host machine | |
alias composer='docker run --rm -v $(pwd):/app composer' | |
# run Composer commands in host machine using container | |
composer --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment