Skip to content
Permalink
Browse files

Update Dockerfile

Add git and files Before `npm install`
  • Loading branch information...
etienne-napoleone committed Jul 11, 2018
1 parent 76e6587 commit 235521c5659894f8d974956f21f981d978521cbf
Showing with 5 additions and 3 deletions.
  1. +5 −3 Dockerfile
@@ -8,9 +8,11 @@ ENV WS_SECRET ''
ENV CONTACT_DETAILS ''
ENV INSTANCE_NAME 'unnamed node'

RUN npm install \
&& npm install -g pm2

COPY . .

RUN apk add --no-cache --virtual dep git \
&& npm install \
&& npm install -g pm2 \
&& apk del dep

ENTRYPOINT ["pm2", "start", "--no-daemon", "app.json"]

0 comments on commit 235521c

Please sign in to comment.
You can’t perform that action at this time.