1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-25 07:49:37 +02:00

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.
This commit is contained in:
Lars Kiesow 2025-04-25 14:19:07 +02:00
parent 85b4db87ec
commit be0e56728a
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73

View file

@ -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"]
CMD ["./startup.sh"]