As I said in your other post: Python command "import can" ModuleNotFoundError - #6 by jeremias.tx
You should probably be running the release version of the container rather than the debug version. Also it’d be helpful if you could keep this conversation to just one of these posts so that we stop hopping back and forth like this.
The debug container you’re running here is well designed for remote debugging with VSCode. Invoking it starts your application but also the debugger. If you just want to run your application like how it would run in a production setting then you want to use the “release” variant which just has your application and no debugger. In the extension you should be able to build and deploy the release variant of your application.
Best Regards,
Jeremias