From 263174079a110b4cafe1681b706f5a0e8ef75cc2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 Sep 2023 19:30:27 +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-5750283 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5837545 - 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..7396672 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.5.1-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.5.1-alpine3.17 RUN apk upgrade --update-cache --available && \ apk add openssl