From 3c2d5a0420c8d570ac1b2216a803ac3b5510577b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 15 Oct 2022 18:25:05 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035792 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035795 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 34e051bc6..451d32e22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.7-alpine3.15 AS base +FROM node:18.10.0-alpine3.15 AS base WORKDIR /base COPY package*.json ./ RUN npm ci @@ -21,7 +21,7 @@ WORKDIR /build COPY --from=base /base ./ RUN npm run build -FROM node:18.7-alpine3.15 AS production +FROM node:18.10.0-alpine3.15 AS production ENV NODE_ENV=production SHELL ["/bin/sh", "-c"] RUN apk add --no-cache bash