On the nodejs container the suggestion is to make /opt/app a shared docker volume. A docker volume would allow for easier development as we could use our IDE development tools on our host (windows, mac and linux) against the files on the volume that the container uses. Just an easier way of editing things like servers.js for testing things out. This way we don't have to install tools in the container etc.
https://docs.docker.com/engine/tutorials/dockervolumes/