Created
August 13, 2023 14:31
-
-
Save DamichiXL/9971fd1cca950c5dbfa50f2e3977988e to your computer and use it in GitHub Desktop.
Run Laravel Sail without installed composer and php
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 \ | |
-u "$(id -u):$(id -g)" \ | |
-v $(pwd):/var/www/html \ | |
-w /var/www/html \ | |
laravelsail/php81-composer:latest \ | |
composer install --ignore-platform-reqs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment