Custom app on dockerized local instance

I cannot make custom app to work in my dockerized local instance. Whatever I do, I end up with ModuleNotFoundError. In all of the services in pwd.yml I added this: - ./custom_apps/custom_jinja:/home/frappe/frappe-bench/apps/custom_jinja

Aftger cerating the new app the server is in Internal Error due to this. If the dockers are restarted, even the unsintall does not work anymore, so I have to do two commands, to unstuck it:

bench new-app custom_jinja
bench --site frontend uninstall-app custom_jinja --force