FROM keymetrics/pm2:latest-alpine # Bundle APP files COPY ../public/bridge.js . COPY ecosystem.config.js . # Install app dependencies ENV NPM_CONFIG_LOGLEVEL warn ENV DEBUG http # Expose the listening port of your app EXPOSE 8081 # Show current folder structure in logs RUN ls -al -R CMD [ "pm2-runtime", "start", "ecosystem.config.js" ]