12 lines
248 B
Plaintext
12 lines
248 B
Plaintext
|
|
FROM docker.io/keymetrics/pm2:latest-alpine
|
||
|
|
|
||
|
|
## Bundle APP files
|
||
|
|
COPY VNode src
|
||
|
|
#COPY package.json .
|
||
|
|
COPY VContainers/VNode/pm2.json .
|
||
|
|
#
|
||
|
|
## Install app dependencies
|
||
|
|
RUN cd /src && npm install
|
||
|
|
|
||
|
|
CMD [ "pm2-runtime", "start", "pm2.json" ]
|
||
|
|
#CMD [ "sh"]
|