Skip to content

Commit 5d3f989

Browse files
Roberdanclaude
authored andcommitted
fix: upgrade to Node.js 20 for Vite 7 compatibility
- CI workflow: NODE_VERSION 18 → 20 - Dockerfile: node:18-alpine → node:20-alpine (all stages) Vite 7 requires Node.js 20.19+ or 22.12+ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0316a85 commit 5d3f989

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
PYTHON_VERSION: "3.11"
11-
NODE_VERSION: "18"
11+
NODE_VERSION: "20"
1212

1313
jobs:
1414
test-backend:

frontend/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# ==============================================================================
55

66
# Stage 1: Dependencies
7-
FROM node:18-alpine AS deps
7+
FROM node:20-alpine AS deps
88

99
WORKDIR /app
1010

@@ -15,7 +15,7 @@ COPY package.json package-lock.json ./
1515
RUN npm ci
1616

1717
# Stage 2: Builder
18-
FROM node:18-alpine AS builder
18+
FROM node:20-alpine AS builder
1919

2020
WORKDIR /app
2121

@@ -27,7 +27,7 @@ COPY . .
2727
RUN npm run build
2828

2929
# Stage 3: Production
30-
FROM node:18-alpine AS production
30+
FROM node:20-alpine AS production
3131

3232
WORKDIR /app
3333

0 commit comments

Comments
 (0)