Sign inSign up

keymetrics/pm2

By keymetrics

•Updated 11 months ago

🐳 Official Docker Image for PM2 runtime

Image
145

5M+

Dockerfile
FROM node:16-buster
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554

# Start pm2.json process file
CMD ["pm2-runtime", "start", "pm2.json"]