Skip to content

Instantly share code, notes, and snippets.

@randercarlos
Last active April 29, 2024 20:33
Show Gist options
  • Save randercarlos/cd2f34ba6885b542f8583d76424e1549 to your computer and use it in GitHub Desktop.
Save randercarlos/cd2f34ba6885b542f8583d76424e1549 to your computer and use it in GitHub Desktop.
create a new laravel project from docker
WSL 2
docker run --rm -v /$(pwd):/app composer create-project laravel/laravel nome_do_projeto
GIT BASH
docker run --rm -v /$(pwd):/app composer create-project laravel/laravel nome_do_projeto
ou
docker run --rm -v ${PWD}:/app composer create-project laravel/laravel nome_do_projeto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment