Skip to content

Commit

Permalink
chore: update nodejs to 22 in an attempt to fix undici errors
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fallenbagel committed Jan 6, 2025
1 parent f84d752 commit d210d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS BUILD_IMAGE
FROM node:22-alpine AS BUILD_IMAGE

WORKDIR /app

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit d210d43

Please sign in to comment.