Skip to content

Use Node 24 LTS instead of Node 25 (non-LTS) in Dockerfile#32

Open
Copilot wants to merge 2 commits intodependabot/docker/node-25-alpinefrom
copilot/sub-pr-2
Open

Use Node 24 LTS instead of Node 25 (non-LTS) in Dockerfile#32
Copilot wants to merge 2 commits intodependabot/docker/node-25-alpinefrom
copilot/sub-pr-2

Conversation

Copy link

Copilot AI commented Feb 28, 2026

Node 25 is an odd-numbered "Current" release with a short support window, making it unsuitable as a production base image. Node 24 is the Active LTS line.

Changes

  • Dockerfile: Bump all three multi-stage build stages (deps, builder, runner) from node:25-alpinenode:24-alpine
# Before
FROM node:25-alpine AS deps
FROM node:25-alpine AS builder
FROM node:25-alpine AS runner

# After
FROM node:24-alpine AS deps
FROM node:24-alpine AS builder
FROM node:24-alpine AS runner

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
Copilot AI changed the title [WIP] Bump node from 20-alpine to 25-alpine Use Node 24 LTS instead of Node 25 (non-LTS) in Dockerfile Feb 28, 2026
@blackboxprogramming blackboxprogramming marked this pull request as ready for review February 28, 2026 13:51
Copilot AI review requested due to automatic review settings February 28, 2026 13:51
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Docker build to use the Active LTS Node.js line (24) instead of the short-lived “Current” line (25), improving production stability and support lifecycle alignment for the container image.

Changes:

  • Switched the deps stage base image from node:25-alpine to node:24-alpine
  • Switched the builder stage base image from node:25-alpine to node:24-alpine
  • Switched the runner stage base image from node:25-alpine to node:24-alpine

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants