Skip to content

Commit

Permalink
install node-prune using instruction on https://github.com/tj/node-pr…
Browse files Browse the repository at this point in the history
  • Loading branch information
machisuke committed May 19, 2022
1 parent 089f070 commit d2e8456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ ENV NODE_ENV production
COPY package.json yarn.lock ./
RUN yarn --production

RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash
RUN ./bin/node-prune
RUN curl -sf https://gobinaries.com/tj/node-prune | sh
RUN node-prune

###############################################################

Expand Down

0 comments on commit d2e8456

Please sign in to comment.