From 635a11a9f5bec6c1853c1582bf9fb78ed1ff1f71 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 Dec 2023 15:15:34 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6032385 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6032385 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5969351 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5969352 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5969356 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dfc0b0a..661dad1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ COPY . . RUN cargo install --no-default-features --path . -FROM node:20.6.1-alpine3.17 AS BUILD_IMAGE +FROM node:20-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.6.1-alpine3.17 +FROM node:20-alpine3.17 RUN apk upgrade --update-cache --available && \ apk add openssl