From 23a0f3c0f6c52cd56abb6bd43705f958a763540c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 28 Jan 2024 04:27:46 +0000 Subject: [PATCH] fix: frontend/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6152404 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6152404 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6160000 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6160000 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6191692 --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 40ee3e041..8bee40cfa 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -46,7 +46,7 @@ RUN npm i vite@4.4.9 @vitejs/plugin-react@4.0.4 vite-plugin-svgr@3.3.0 vite-tsco RUN npm run build-ocp ## Stage 2: Nginx state for serving content -FROM nginx:alpine-slim as prod +FROM nginx:1.25-alpine3.18-slim as prod # copy custom nginx configuration from host to container COPY nginx.conf /etc/nginx/conf.d/default.conf