Update to Node.js 22 from 18, as the upstream cpu 100% issues has been fixed.

This commit is contained in:
Louis Lam
2024-10-13 20:36:04 +08:00
parent 9dd68372c2
commit 19beb02b1e
2 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
# Due to the bug of #145, Node.js's version cannot be changed, unless upstream is fixed.
FROM node:18.17.1-bookworm-slim
FROM node:22-bookworm-slim
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN apt update && apt install --yes --no-install-recommends \