FROM keymetrics/pm2:18-alpine # Bundle APP files COPY public/bridge.js . COPY bridge/ecosystem.config.js . # Install app dependencies ENV NPM_CONFIG_LOGLEVEL warn ENV DEBUG http # Expose the listening port of your app EXPOSE 8081 CMD [ "pm2-runtime", "start", "ecosystem.config.js", "--env", "production" ]