Skip to content

Commit

Permalink
fix(dockerfile): install deps globally
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Oct 30, 2020
1 parent f9b1aef commit 6eefc5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ COPY action ./

RUN npm ci --only=prod

# also install globally
RUN npm i --global --only=prod

ENTRYPOINT ["node", "/action/index.js"]

0 comments on commit 6eefc5b

Please sign in to comment.