vscode-laravel-artisan icon indicating copy to clipboard operation
vscode-laravel-artisan copied to clipboard

Run commands from inside a Docker container; don't worry about local artisan files

Open ncphillips opened this issue 6 months ago • 0 comments

We have a setup similar to Sail. We have a bin/artisan script that can run the artisan commands, or we can shell into the app container and run them there.

Every time I run a command it pops up asking which artisan to use

image

But I don't know why it's doing this. I just want it to run

docker compose exec laravel.test php artisan <cmd>

ncphillips avatar Aug 14 '24 10:08 ncphillips