From 79ccadff8a0a33d8c7c93622857ec60363cb40fe Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 5 Feb 2022 20:35:54 +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..e9b38f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage Base -FROM node:12.22.0-alpine AS base +FROM node:12.22.9-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.9-alpine as server WORKDIR /app COPY --from=dependencies /app/node_modules ./node_modules COPY --from=build /app/dist ./dist