Skip to content

Commit

Permalink
saved focker file
Browse files Browse the repository at this point in the history
  • Loading branch information
joyja committed Jun 15, 2020
1 parent bd41c7c commit 1ab5744
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM keymetrics/pm2:latest-stretch

# Bundle APP files
COPY src src/
COPY package.json .
COPY ecosystem.config.js .

# Install app dependencies
ENV NPM_CONFIG_LOGLEVEL warn
RUN npm install --production

# Expose the listening port of your app
EXPOSE 4000

# Show current folder structure in logs
CMD [ "pm2-runtime", "start", "ecosystem.config.js" ]

0 comments on commit 1ab5744

Please sign in to comment.