From 206a858bb0d46c1c9a58bf4342932626ae367aa7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 31 Jan 2025 16:57:45 +0000 Subject: [PATCH] fix: apps/frontend/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201 --- apps/frontend/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/frontend/Dockerfile b/apps/frontend/Dockerfile index 7d011a0e..13731c0e 100644 --- a/apps/frontend/Dockerfile +++ b/apps/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.17.0-alpine3.20 as dependencies +FROM node:20.18.2-alpine3.20 as dependencies WORKDIR /app # Install Python for node-gyp @@ -8,7 +8,7 @@ COPY package*.json ./ RUN npm ci # Build Stage -FROM node:20.17.0-alpine3.20 as build +FROM node:20.18.2-alpine3.20 as build WORKDIR /app # Arguments passed from docker-compose.yml / workflow @@ -28,7 +28,7 @@ RUN npx nx build frontend --prod --skip-nx-cache \ && npm prune --production # Production Stage -FROM node:20.17.0-alpine3.20 as production +FROM node:20.18.2-alpine3.20 as production WORKDIR /app COPY --from=build /app/dist/apps/frontend ./frontend