From be0e56728a0b6fd0fa6e2974674ae447f035a738 Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Fri, 25 Apr 2025 14:19:07 +0200 Subject: [PATCH] Upgrade Node.js to Version 22 This patch updates the Dockerfile to use Node.js 22 for running the frontend. Given that the security support of Node.js 18 ends in 6 days (30 Apr 2025), upgrading definitely makes sense. Additionally, this also seems to fix the broken JSON generated by the recently upgrraded version of @sveltejs/kit, thus fixing #584. --- frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 602960e..15450d4 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,5 +1,5 @@ # Use this image as the platform to build the app -FROM node:18-alpine AS external-website +FROM node:22-alpine AS external-website # A small line inside the image to show who made it LABEL Developers="Sean Morley" @@ -32,4 +32,4 @@ RUN chmod +x ./startup.sh USER node:node # Run startup.sh instead of the default command -CMD ["./startup.sh"] \ No newline at end of file +CMD ["./startup.sh"]