parent
48e785c9a3
commit
19fbe06f63
48 changed files with 28 additions and 4 deletions
@ -0,0 +1,15 @@ |
||||
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" ] |
@ -1,2 +0,0 @@ |
||||
license It also lists 23 cars, trucks, SUVs and other vehicles, and a box containing more than 60 license plates from "various states." |
||||
copyright And copyright notwithstanding, I look forward to the reception of future all-white productions! |
@ -0,0 +1,11 @@ |
||||
{ |
||||
"name": "mksec", |
||||
"script": "src/server.js", |
||||
"instances": "2", |
||||
"env": { |
||||
"NODE_ENV": "development" |
||||
}, |
||||
"env_production" : { |
||||
"NODE_ENV": "production" |
||||
} |
||||
} |
Loading…
Reference in new issue