From 1ac538cdd6eade40ba030319f884a49015d31002 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 11 Nov 2023 00:34:46 +0000 Subject: [PATCH] fix: runner/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-LIBWEBP-5893095 - https://snyk.io/vuln/SNYK-DEBIAN12-LIBWEBP-5893095 - https://snyk.io/vuln/SNYK-DEBIAN12-LIBWEBP-5893095 - https://snyk.io/vuln/SNYK-DEBIAN12-LIBWEBP-5893095 - https://snyk.io/vuln/SNYK-DEBIAN12-NGHTTP2-5953379 --- runner/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runner/Dockerfile b/runner/Dockerfile index 883e0499b..779b3adde 100644 --- a/runner/Dockerfile +++ b/runner/Dockerfile @@ -1,10 +1,10 @@ -FROM node:18.17 AS builder +FROM node:18.18.2 AS builder WORKDIR /usr/src/app COPY . . RUN npm install RUN npm run build -FROM node:18.17 +FROM node:18.18.2 WORKDIR /usr/src/app COPY --from=builder /usr/src/app/package*.json ./ RUN npm install --omit=dev