Skip to content
Merged
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,6 +1,6 @@
# Stage 1: Dependencies
# Next.js 16 requires Node.js >= 20.9.0
FROM node:20-alpine AS deps
FROM node:25-alpine AS deps
RUN apk add --no-cache libc6-compat
WORKDIR /app

Expand All @@ -13,7 +13,7 @@ RUN --mount=type=cache,target=/root/.npm \
sh -c "npm ci --no-audit --no-fund || npm install --no-audit --no-fund"

# Stage 2: Builder
FROM node:20-alpine AS builder
FROM node:25-alpine AS builder
WORKDIR /app

# Copy node_modules from deps stage
Expand All @@ -40,7 +40,7 @@ RUN --mount=type=cache,target=/app/.next/cache \
npm run build

# Stage 3: Runner (Production)
FROM node:20-alpine AS runner
FROM node:25-alpine AS runner
WORKDIR /app

ENV NODE_ENV=production
Expand Down
Loading