fix: Node.js 22 for Capacitor CLI

This commit is contained in:
2026-04-18 10:18:27 +08:00
parent a2521ce317
commit 23291be5d2

View File

@@ -11,8 +11,8 @@ RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js 20
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
# Install Node.js 22
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*