Skip to content

Commit

Permalink
build: upgrade base Docker image to prevent security vulnerability
Browse files Browse the repository at this point in the history
According to Snyk.io, the currently used base Docker image has 19 security
vulnerabilities (13 high).
https://snyk.io/test/docker/node%3A16.5.0-alpine3.14

On the other hand, the image `node:16.14.2-alpine3.14` has no known security
vulnerabilies.

https://snyk.io/test/docker/node%3A16.14.2-alpine3.14

This commit upgrades the image to fix the above mentioned issues.
  • Loading branch information
diogokiss committed May 3, 2022
1 parent 534ab20 commit 44ba5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM node:16.5.0-alpine3.14 as build
FROM node:16.14.2-alpine3.14 as build

COPY package*.json /

Expand Down

0 comments on commit 44ba5b4

Please sign in to comment.