mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
15 lines
268 B
Docker
15 lines
268 B
Docker
FROM keymetrics/pm2:latest-alpine
|
|
|
|
# Bundle APP files
|
|
COPY ./app /app
|
|
WORKDIR /app
|
|
|
|
# Install app dependencies
|
|
ENV NPM_CONFIG_LOGLEVEL warn
|
|
RUN npm install --production
|
|
|
|
ENV KEYMETRICS_SECRET xxxx
|
|
ENV KEYMETRICS_PUBLIC yyyy
|
|
|
|
CMD [ "pm2-runtime", "process.config.js" ]
|