Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ============================================================
# Stage 1: Dependencies
# ============================================================
FROM node:18-alpine AS deps
FROM node:26-alpine AS deps

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node 26 is a "Current" release, not LTS. It won't enter LTS until around October 2027. For a production Docker image, using a non-LTS version means shorter support windows and higher risk of instability. The jump from 18 directly to 26 also skips three major versions (20, 22, 24), which compounds the risk of breaking changes in native modules, APIs, or dependency compatibility. Consider targeting node:22-alpine or node:24-alpine (both LTS) instead.

Suggested change
FROM node:26-alpine AS deps
FROM node:22-alpine AS deps

Fix it with Roo Code or mention @roomote and request a fix.


# Install libc6-compat for Alpine compatibility
RUN apk add --no-cache libc6-compat
Expand All @@ -20,7 +20,7 @@ RUN pnpm install --frozen-lockfile
# ============================================================
# Stage 2: Builder
# ============================================================
FROM node:18-alpine AS builder
FROM node:26-alpine AS builder

WORKDIR /app

Expand Down Expand Up @@ -49,7 +49,7 @@ RUN pnpm run build
# ============================================================
# Stage 3: Runner (Production)
# ============================================================
FROM node:18-alpine AS runner
FROM node:26-alpine AS runner

WORKDIR /app

Expand Down
Loading