Last active
March 24, 2022 12:48
-
-
Save jamesratcliffe/c65d17f1ebf1bbce793f1bf87d215325 to your computer and use it in GitHub Desktop.
Install Laravel Dependencies in 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 \ | |
-u "$(id -u):$(id -g)" \ | |
-v $(pwd):/var/www/html \ | |
-w /var/www/html \ | |
laravelsail/php74-composer:latest \ | |
touch .composer && composer install --ignore-platform-reqs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment