Launching through a script makes it easier to support multiple languages instead of hard-coding node. It also makes it easier to push command line arguments and environment variables.
The user shouldn't have to include it; it should be auto-generated in the form of
cd /app
export FOO=BAR
exec node index.js arg1 arg2
Launching through a script makes it easier to support multiple languages instead of hard-coding
node
. It also makes it easier topush
command line arguments and environment variables.The user shouldn't have to include it; it should be auto-generated in the form of