My project structure is like this:
- root folder
- .git
- docker-compose
- app
- composer.json
so my git is not located in the app folder but in its parent
My docker app is rooted with the app folder
When I try to update my recipes with docker exec app composer recipes:update
it fails with error
Updating recipe for doctrine/annotations...
There was an error applying the recipe update patch
Command "git rev-parse --show-prefix" failed: "fatal: not a git repository (or any parent up to mount point /var/www)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
". Output: "".
Update the recipe by re-installing the latest version with:
composer recipes:install doctrine/annotations --force -v
How can I solve this ?