From f86ec95aa9c158f6ad8825035e298eab2cea447b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 16 Oct 2021 19:12:07 +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..a6cffc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage Base -FROM node:12.22.0-alpine AS base +FROM node:12.22.7-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.7-alpine as server WORKDIR /app COPY --from=dependencies /app/node_modules ./node_modules COPY --from=build /app/dist ./dist