Skip to content

Commit

Permalink
fix: update npm in production images to resolve crossspawn vuln
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnyowenpowell committed Jan 15, 2025
1 parent f17a9c1 commit d867a62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ RUN apk update
RUN apk upgrade
RUN apk --no-cache add dumb-init skopeo curl bash python3

RUN npm install -g [email protected]

RUN addgroup -S -g 10001 snyk
RUN adduser -S -G snyk -h /srv/app -u 10001 snyk

Expand Down

0 comments on commit d867a62

Please sign in to comment.