Skip to content

Conversation

@JustACodeA
Copy link
Contributor

Updates the frontend Dockerfile from Node 20.6.1 to Node 22 to resolve compatibility issues with Vite dependencies.

Closes #2157

Updates the frontend Dockerfile from Node 20.6.1 to Node 22 to resolve
compatibility issues with Vite dependencies.

Closes arc53#2157

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copilot AI review requested due to automatic review settings November 22, 2025 09:11
@vercel
Copy link

vercel bot commented Nov 22, 2025

@JustACodeA is attempting to deploy a commit to the Arc53 Team on Vercel.

A member of the Team first needs to authorize it.

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

This PR updates the Node.js base image in the frontend Dockerfile from version 20.6.1 to version 22 to resolve compatibility issues with Vite dependencies (specifically addressing issue #2157).

  • Updates Node.js from 20.6.1 to 22 in the frontend Docker image
  • Maintains the same bullseye-slim base image variant
  • Aligns with Vite 7.2.0 requirements present in package.json

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

@@ -1,4 +1,4 @@
FROM node:20.6.1-bullseye-slim
FROM node:22-bullseye-slim
Copy link

Copilot AI Nov 22, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider pinning to a more specific Node.js version (e.g., node:22.0.0-bullseye-slim or a specific patch version) instead of using node:22-bullseye-slim. While the major version tag is valid, using a more specific version ensures reproducible builds and prevents unexpected issues from automatic minor/patch updates. The original Dockerfile used a specific version (20.6.1), so maintaining that level of specificity would be more consistent.

Suggested change
FROM node:22-bullseye-slim
FROM node:22.0.0-bullseye-slim

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Bug Report: Incompatible Node version with Vite dependencies

1 participant