Maybe you could try setting LD_PRELOAD as an environment variable in the App Service level with the value of /opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so. This is where the installer places the library to be loaded. Then, in the custom startup script add a command to restart the node.js server and see if the OA gets picked up.
I guess you can SSH into the App and check whether the wrapper is downloaded correctly, this will confirm that the startup script works at least, since I have found the App logs insufficient at best.