diff --git a/Dockerfile b/Dockerfile index 1c6d64fa9..72a1d2381 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:21-bookworm AS dep-builder +FROM node:22-bookworm AS dep-builder # Here we use the non-slim image to provide build-time deps (compilers and python), thus no need to install later. # This effectively speeds up qemu-based cross-build. @@ -33,7 +33,7 @@ FROM debian:bookworm-slim AS dep-version-parser # This stage is necessary to limit the cache miss scope. # With this stage, any modification to package.json won't break the build cache of the next two stages as long as the # version unchanged. -# node:21-bookworm-slim is based on debian:bookworm-slim so this stage would not cause any additional download. +# node:22-bookworm-slim is based on debian:bookworm-slim so this stage would not cause any additional download. WORKDIR /ver COPY ./package.json /app/ @@ -45,7 +45,7 @@ RUN \ # --------------------------------------------------------------------------------------------------------------------- -FROM node:21-bookworm-slim AS docker-minifier +FROM node:22-bookworm-slim AS docker-minifier # The stage is used to further reduce the image size by removing unused files. WORKDIR /app @@ -79,7 +79,7 @@ RUN \ # --------------------------------------------------------------------------------------------------------------------- -FROM node:21-bookworm-slim AS chromium-downloader +FROM node:22-bookworm-slim AS chromium-downloader # This stage is necessary to improve build concurrency and minimize the image size. # Yeah, downloading Chromium never needs those dependencies below. @@ -111,7 +111,7 @@ RUN \ # --------------------------------------------------------------------------------------------------------------------- -FROM node:21-bookworm-slim AS app +FROM node:22-bookworm-slim AS app LABEL org.opencontainers.image.authors="https://github.com/DIYgod/RSSHub" diff --git a/package.json b/package.json index db034e353..2e60417fb 100644 --- a/package.json +++ b/package.json @@ -180,7 +180,7 @@ "vite-tsconfig-paths": "4.3.2", "vitest": "1.6.0" }, - "packageManager": "pnpm@9.1.4", + "packageManager": "pnpm@9.2.0", "engines": { "node": ">=22" }