I think the issue is that the debug port is only binding to the local interface in the docker network, and it's not bound to the external network interface. Try setting
-e DEBUG_PORT=*:8787" as an environment variable via docker so that it binds on all interfaces instead. Then, with the
-p 8787:8787, you should be able to attach your local debugger.
Best,
Simon