Skip to content

Commit

Permalink
Merge pull request #132 from a544jh/pr-optimize-dockerfile
Browse files Browse the repository at this point in the history
Optimize Dockerfile
  • Loading branch information
marcells authored Jun 6, 2018
2 parents 2607c26 + cfe3c1f commit 33f743f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ RUN npm install -g forever

WORKDIR /build-mon

ADD app /build-mon/app
ADD package.json /build-mon/package.json
ADD README.md /build-mon/README.md

RUN npm install

ONBUILD ADD config.json /build-mon/app/config.json
ADD app /build-mon/app
ADD README.md /build-mon/README.md

ONBUILD ADD app/config.json /build-mon/app/config.json

EXPOSE 3000

Expand Down

0 comments on commit 33f743f

Please sign in to comment.