You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
289 B
16 lines
289 B
4 years ago
|
FROM keymetrics/pm2:latest-alpine
|
||
|
|
||
|
# Bundle APP files
|
||
|
COPY src src/
|
||
|
COPY package.json .
|
||
|
COPY pm2.json .
|
||
|
|
||
|
# Install app dependencies
|
||
|
ENV NPM_CONFIG_LOGLEVEL warn
|
||
|
RUN npm install --production
|
||
|
|
||
|
# Show current folder structure in logs
|
||
|
RUN ls -al -R
|
||
|
|
||
|
CMD [ "pm2-runtime", "start", "pm2.json" ]
|