In my docker container I run this command to update all dependencies
composer show --no-dev --direct --name-only | xargs composer require
But when I try to run this with exec (I try to use it in a shell script) i get an error
docker compose exec (Try with -T) php composer show --no-dev --direct --name-only | xargs composer require
xargs: composer: No such file or directory
Is there a solution to update all dependencies outside of my docker-container