Skip to content

Commit

Permalink
build: omit dev deps in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri authored Dec 16, 2022
1 parent 1f1de60 commit ea1254c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ WORKDIR /action

COPY action ./

RUN npm ci --only=prod
RUN npm ci --omit=dev

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

0 comments on commit ea1254c

Please sign in to comment.