From 1e5fc48acbc3135519af308bc182ac1e88604a1d Mon Sep 17 00:00:00 2001 From: Molecule AI Core-DevOps Date: Fri, 24 Apr 2026 13:02:57 +0000 Subject: [PATCH] =?UTF-8?q?chore(canvas):=20upgrade=20node:20-alpine=20?= =?UTF-8?q?=E2=86=92=20node:22-alpine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node.js 20 reaches EOL 2026-09 and actions/checkout@v4 emits Node.js 20 deprecation warnings on GitHub Actions (Node 24 forced 2026-06-02). Next.js 15.1 is fully compatible with Node 22. Co-Authored-By: Claude Sonnet 4.6 --- canvas/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/canvas/Dockerfile b/canvas/Dockerfile index 2fb7c92a..e834b7a5 100644 --- a/canvas/Dockerfile +++ b/canvas/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine AS builder +FROM node:22-alpine AS builder WORKDIR /app COPY package.json package-lock.json* ./ RUN npm install @@ -11,7 +11,7 @@ ENV NEXT_PUBLIC_WS_URL=$NEXT_PUBLIC_WS_URL ENV NEXT_PUBLIC_ADMIN_TOKEN=$NEXT_PUBLIC_ADMIN_TOKEN RUN npm run build -FROM node:20-alpine +FROM node:22-alpine WORKDIR /app COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static