I currently have a nice docker setup for my laravel project
When I need to execute a php artisan command, I attache the php-fpm container to my terminal. It all works fine. except when the artisan command creates new files.
The files are created as root. To solve that i need to "chown -R 1000:1000 /application"
It's very annoying to do that everytime and was wandering if there's a way in Ubuntu or in my docker setup so that artisan creates the files as 1000 by himself and I don't need to worry about that anymore.

