Skip to content

Conversation

@ZePan110
Copy link
Collaborator

Description

Update UI base images for Translation and VisualQnA

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

Copilot AI review requested due to automatic review settings January 19, 2026 08:08
@github-actions
Copy link

github-actions bot commented Jan 19, 2026

ℹ️ INFO
File Translation/ui/docker/Dockerfile resulted in a change in the image size from 1426 -> 1417 MB (diff: -9 MB)
⚠️ WARNING
File VisualQnA/ui/docker/Dockerfile resulted in a change in the image size from 1421 -> 1596 MB (diff: 175 MB)

Copy link
Contributor

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 Docker images for the Translation and VisualQnA UI services from specific Node 20.x versions to Node 22.

Changes:

  • Updated VisualQnA UI Docker base image from node:20.11.1 to node:22
  • Updated Translation UI Docker base image from node:20.19.0 to node:22

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
VisualQnA/ui/docker/Dockerfile Updates base image from Node 20.11.1 to Node 22
Translation/ui/docker/Dockerfile Updates base image from Node 20.19.0 to Node 22 while maintaining chokidar compatibility note

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


# Use node 20.19.0 as the base image (required for [email protected] compatibility)
FROM node:20.19.0
# Use node 22 as the base image (required for [email protected] compatibility)
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

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

The comment mentions [email protected] compatibility requirements, but this justification was originally specific to Node 20.19.0. Since the image is now being updated to Node 22, verify if this comment accurately reflects the compatibility requirements for Node 22 with [email protected], or update the comment to reflect the actual reason for using Node 22.

Suggested change
# Use node 22 as the base image (required for [email protected] compatibility)
# Use Node 22 as the base image (current LTS / stable Node.js version)

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants