From cf7952a3a1de284226d40033b9e2f40a5f88fc0f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 Sep 2023 03:30:24 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5741793 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5741794 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5750283 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5843454 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5848038 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 197ebfa..c922e1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ COPY . . RUN cargo install --no-default-features --path . -FROM node:20.2-alpine3.17 AS BUILD_IMAGE +FROM node:20.6-alpine3.17 AS BUILD_IMAGE ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true" @@ -27,7 +27,7 @@ RUN rm -R ./node_modules RUN npm install --production # final image -FROM node:20.2-alpine3.17 +FROM node:20.6-alpine3.17 RUN apk upgrade --update-cache --available && \ apk add openssl