From 7dc7f538a99e53f9ae4531810244e424e87b584f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 26 Oct 2024 19:20:02 +0000 Subject: [PATCH] Update Node.js to v20 --- .../Dfe.PrepareConversions.Redirector/Dockerfile | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dfe.PrepareConversions/Dfe.PrepareConversions.Redirector/Dockerfile b/Dfe.PrepareConversions/Dfe.PrepareConversions.Redirector/Dockerfile index ebf91d5a9..c47c51988 100644 --- a/Dfe.PrepareConversions/Dfe.PrepareConversions.Redirector/Dockerfile +++ b/Dfe.PrepareConversions/Dfe.PrepareConversions.Redirector/Dockerfile @@ -5,7 +5,7 @@ RUN dotnet restore "Dfe.PrepareConversions.Redirector/Dfe.PrepareConversions.Red COPY . . # Stage 2 - Build assets -FROM node:18.20-bullseye as frontend +FROM node:20.18-bullseye as frontend COPY --from=build /src /src WORKDIR /src/Dfe.PrepareConversions/wwwroot RUN npm install diff --git a/Dockerfile b/Dockerfile index 17ce2868f..765b6f55f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Stage 1 - Restore and publish .NET layers ARG ASPNET_IMAGE_TAG=8.0-bookworm-slim -ARG NODEJS_IMAGE_TAG=18.20-bullseye +ARG NODEJS_IMAGE_TAG=20.18-bullseye FROM mcr.microsoft.com/dotnet/sdk:8.0 AS publish WORKDIR /build