Skip to content

Commit d867a62

Browse files
fix: update npm in production images to resolve crossspawn vuln
1 parent f17a9c1 commit d867a62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ RUN apk update
3030
RUN apk upgrade
3131
RUN apk --no-cache add dumb-init skopeo curl bash python3
3232

33+
RUN npm install -g [email protected]
34+
3335
RUN addgroup -S -g 10001 snyk
3436
RUN adduser -S -G snyk -h /srv/app -u 10001 snyk
3537

0 commit comments

Comments
 (0)