ENTRYPOINT ["/sbin/tini", "--"] CMD ["node", "/path/to/main/process.js"]
edit: formatting, sorry.
If you use Kubernetes then you have to add tini for now (https://github.com/kubernetes/kubernetes/issues/84210)