Compare commits

...

3 Commits

Author SHA1 Message Date
Zamil Majdy
e5fd97339f test: add E2E test screenshots for PR #12561 2026-03-27 12:58:09 +07:00
Zamil Majdy
ddab858525 Merge branch 'dev' of github.com:Significant-Gravitas/AutoGPT into fix/frontend-node-upgrade 2026-03-27 10:59:13 +07:00
Zamil Majdy
6f3c2dca61 fix(frontend): upgrade Docker Node.js from v21 (EOL) to v22 LTS
Pin to node:22.22-alpine3.23 for reproducible builds.
Node 21 has been EOL since June 2024 and has a known TransformStream
race condition bug (BUILDER-3KF, 567k+ Sentry events).
2026-03-27 10:55:44 +07:00
7 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# Base stage for both dev and prod
FROM node:21-alpine AS base
FROM node:22.22-alpine3.23 AS base
WORKDIR /app
RUN corepack enable
COPY autogpt_platform/frontend/package.json autogpt_platform/frontend/pnpm-lock.yaml ./
@@ -33,7 +33,7 @@ ENV NEXT_PUBLIC_SOURCEMAPS="false"
RUN if [ "$NEXT_PUBLIC_PW_TEST" = "true" ]; then NEXT_PUBLIC_PW_TEST=true NODE_OPTIONS="--max-old-space-size=8192" pnpm build; else NODE_OPTIONS="--max-old-space-size=8192" pnpm build; fi
# Prod stage - based on NextJS reference Dockerfile https://github.com/vercel/next.js/blob/64271354533ed16da51be5dce85f0dbd15f17517/examples/with-docker/Dockerfile
FROM node:21-alpine AS prod
FROM node:22.22-alpine3.23 AS prod
ENV NODE_ENV=production
ENV HOSTNAME=0.0.0.0
WORKDIR /app

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB