Skip to content
This repository was archived by the owner on Jul 8, 2026. It is now read-only.

Commit f8a4dd4

Browse files
n4ze3mclaude
andcommitted
fix(docker): build on Node 20 (fast-jwt requires node >=20)
The final image stage failed `yarn install --production` because the transitive dependency fast-jwt now requires Node >=20 while the image was built on node:18-slim (also EOL). Bump both base stages to node:20-slim. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9567ee3 commit f8a4dd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-slim AS base
1+
FROM node:20-slim AS base
22
WORKDIR /app
33
RUN apt update && apt install -y \
44
g++ make python3 wget gnupg dirmngr unzip
@@ -18,7 +18,7 @@ COPY . .
1818
RUN pnpm install && pnpm build
1919

2020
# Final stage
21-
FROM node:18-slim
21+
FROM node:20-slim
2222
WORKDIR /app
2323

2424
# Set environment variables

0 commit comments

Comments
 (0)