``` FROM thecodingmachine/nodejs:12 RUN yarn global add pm2 CMD [ "pm2-runtime", "index.js"] ``` This fails because `yarn global` when not run as root will put bin files in `/home/docker/.yarn/bin`. This directory should be part of PATH.