forked from jchomaz/Vulture
(feat) VContainers : build VNode
This commit is contained in:
12
VContainers/VNode/Containerfile
Normal file
12
VContainers/VNode/Containerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user