Skip to content

Commit

Permalink
Copy data
Browse files Browse the repository at this point in the history
  • Loading branch information
n-sviridenko committed Dec 21, 2019
1 parent 9b3ec07 commit 53041cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ONBUILD COPY --from=builder /usr/app/lib ./lib
ONBUILD COPY package.json yarn.lock ./

ONBUILD COPY src ./src
ONBUILD COPY data ./data
ONBUILD RUN sh -c "if [ \"$NODE_ENV\" == \"production\" ]; then rm -rf src; fi"
ONBUILD ENV NODE_ENV=${NODE_ENV}

Expand Down

0 comments on commit 53041cb

Please sign in to comment.