TheColorRed / vscode-laravel-artisan

Visual Studio Code Laravel Artisan Extension
https://marketplace.visualstudio.com/items?itemName=ryannaddy.laravel-artisan
68 stars 19 forks source link

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

Open ncphillips opened 3 months ago

ncphillips commented 3 months ago

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>