From c17007a6d82dc2801529ee2e9ff78745fff925fc Mon Sep 17 00:00:00 2001 From: panagiotis panagiotopoulos Date: Mon, 19 Aug 2024 00:26:53 +0300 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities (#16) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7413532 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7413532 Co-authored-by: snyk-bot --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9fb6e16..072c8c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -FROM node:22.5.1-alpine as builder - +FROM node:22.6-alpine as builder COPY package.json /srv/node-clean-architecture/ WORKDIR /srv/node-clean-architecture/ @@ -17,8 +16,7 @@ COPY tests /srv/node-clean-architecture/tests/ RUN yarn run build -FROM node:22.5.1-alpine - +FROM node:22.6-alpine ENV HTTP_MODE http ARG NODE_PROCESSES=2