From 34b8c9f6ba65f98c9d799bd70abef4a79d77a049 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 27 Jan 2024 14:22:53 +0000 Subject: [PATCH] fix: deploy/frontend/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6148881 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6148881 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6159994 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6159994 --- deploy/frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/frontend/Dockerfile b/deploy/frontend/Dockerfile index 9edc389e..a1ce1345 100644 --- a/deploy/frontend/Dockerfile +++ b/deploy/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine AS builder +FROM node:21.6.0-alpine3.19 AS builder RUN apk update RUN apk add --no-cache libc6-compat python3 make g++ @@ -18,7 +18,7 @@ RUN echo 'NODE_ENV=production' >> .env RUN yarn install --frozen-lockfile RUN yarn build -FROM node:alpine +FROM node:21.6.0-alpine3.19 WORKDIR /usr/src/app