From 9b862feabb55aec70225bff6da4fcc824d9f0322 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 17 Jun 2022 06:54:50 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE311-APKTOOLS-1534687 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569447 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569447 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 460e851..b51b89a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage Base -FROM node:12.22.0-alpine AS base +FROM node:12.22.12-alpine AS base RUN apk add --update --no-cache python make g++ RUN npm install pnpm --global RUN pnpm install node-gyp --global @@ -17,7 +17,7 @@ RUN pnpm install RUN pnpm build # Stage Server -FROM node:12.22.0-alpine as server +FROM node:12.22.12-alpine as server WORKDIR /app COPY --from=dependencies /app/node_modules ./node_modules COPY --from=build /app/dist ./dist