From d210d43361f4b53eb7d6022282d0ea0bd42e5f27 Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:49:17 +0800 Subject: [PATCH] chore: update nodejs to 22 in an attempt to fix undici errors This is an attempt to fix the undici errors introduced after the switch from axios to native fetch. The decision was made as it native fetch on node 20 seems to be "experimental" and > since native fetch is no longer experimental since Node 21 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0f761e33..4903b48c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine AS BUILD_IMAGE +FROM node:22-alpine AS BUILD_IMAGE WORKDIR /app @@ -36,7 +36,7 @@ RUN touch config/DOCKER RUN echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json -FROM node:20-alpine +FROM node:22-alpine # Metadata for Github Package Registry LABEL org.opencontainers.image.source="https://github.com/Fallenbagel/jellyseerr"