From c2ea32164507158c644765656668f5e1119f43d5 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Fri, 17 Mar 2023 10:23:43 +0100 Subject: [PATCH] update: node 18.15.0 Vulnerabilities found on node 18.14.1: https://hub.docker.com/_/node/tags?page=1&name=18.14.1 None on 18.15.0: https://hub.docker.com/_/node/tags?page=1&name=18.15.0 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7b10c967..002733a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ # # # # -FROM docker.io/library/node:18-alpine@sha256:045b1a1c90bdfd8fcaad0769922aa16c401e31867d8bf5833365b0874884bbae AS build_node_modules +FROM docker.io/library/node:18-alpine@sha256:ffc770cdc09c9e83cccd99d663bb6ed56cfaa1bab94baf1b12b626aebeca9c10 AS build_node_modules # Copy Web UI COPY src/ /app/ @@ -18,7 +18,7 @@ RUN npm ci --production # Copy build result to a new image. # This saves a lot of disk space. -FROM docker.io/library/node:18-alpine@sha256:045b1a1c90bdfd8fcaad0769922aa16c401e31867d8bf5833365b0874884bbae +FROM docker.io/library/node:18-alpine@sha256:ffc770cdc09c9e83cccd99d663bb6ed56cfaa1bab94baf1b12b626aebeca9c10 COPY --from=build_node_modules /app /app # Move node_modules one directory up, so during development