GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Feature request: official Docker image that honors .node-version · Issue #1490 · voidzero-dev/vite-plus

Feature request: official Docker image that honors .node-version #1490

New issue
Copy link
New issue
Copy link
Closed
Task
#1944
Closed
Feature request: official Docker image that honors .node-version#1490
Task
#1944
Copy link
Assignees
fengmk2
Milestone
Beta

Description

@wladpaiva
wladpaiva
opened on Apr 27, 2026
Issue body actions

Feature request

Please consider publishing an official Vite+ Docker image that can keep the container's Node.js version aligned with the project's pinned Node version.

Problem

When building a Vite+ project into a Docker image, I need the runtime Node.js version to match the project's .node-version file.

In this project, .node-version contains 24.15.0, and vp --version correctly reports:

Environment:
  Package manager  pnpm v10.33.2
  Node.js          v24.15.0 (.node-version)

While optimizing the image, I can use plain alpine:3.23 with apk add nodejs to get a much smaller runtime image. However, Alpine currently installs Node v24.14.1, which does not match the project requirement. The safer workaround is to use an official Node image such as node:24-alpine, but that roughly doubles the image size in this case.

Desired behavior

It would be helpful if Vite+ provided an official Docker image or documented Docker image pattern that honors the project's .node-version file.

For example, a Vite+ image could either:

  • read .node-version and install/use that exact Node version during the build/runtime flow, or
  • provide image tags that map to exact Node versions managed by Vite+, or
  • document the recommended Docker pattern for keeping container Node versions aligned with .node-version.

Why this matters

Without an official Vite+ Docker image or recommended pattern, projects that need an exact Node version have to choose between:

  • a larger official Node base image that matches the version more closely, or
  • a smaller distro package such as Alpine's nodejs, which may lag behind the project's .node-version patch version.

Workaround

Use an official Node image such as node:24-alpine when exact patch-version alignment matters, or accept the distro-packaged Node version when image size matters more.

Validations

  • I searched existing issues for Docker/image/node-version related reports.
  • I checked the closest existing Node version management issue (Node version management #1200), which appears to be about slow Node installation/runtime management rather than Docker image version alignment.

Activity

  1. wladpaiva
    changed the title [-]Docker image should honor project .node-version[/-] [+]Feature request: official Docker image that honors .node-version[/+] on Apr 27, 2026
  2. fengmk2 commented on Apr 27, 2026

    @fengmk2
    fengmk2
    on Apr 27, 2026
    Member
    More actions

    The Docker image is already in our Q2 plan #1324, and I will update you once there is progress.

    Reacted by Wlad Paiva, JongKyung Lee and Gauthier POGAM--LE MONTAGNER
  3. fengmk2
    self-assigned this
    on Apr 27, 2026
  4. fengmk2
    added this to the Beta milestone on May 18, 2026
  5. fengmk2
    marked Development container feature/template #1120 as a duplicate of this issue on May 18, 2026
  6. fengmk2
    added the
    Task
    issue type on Jun 22, 2026
  7. fengmk2
    added 12 commits that reference this issue on Jun 25, 2026

    docs(rfc): add official Docker image RFC

    e18c087

    feat(docker): add official Vite+ toolchain image

    8592a7a

    ci(docker): build a preview image from pkg.pr.new

    c0d4034

    docs(rfc): add official Docker image RFC

    35b55a6

    feat(docker): add official Vite+ toolchain image

    ea17dbe

    ci(docker): build a preview image from pkg.pr.new

    1e6450b

    docs(rfc): add official Docker image RFC

    c7b7cb0

    feat(docker): add official Vite+ toolchain image

    143347c

    ci(docker): build a preview image from pkg.pr.new

    45d9efd

    docs(rfc): add official Docker image RFC

    d37e4f3

    feat(docker): add official Vite+ toolchain image

    c833f69

    ci(docker): build a preview image from pkg.pr.new

    ee0df6f
  8. fengmk2
    closed this as completedin #1944on Jul 1, 2026
  9. pull
    added a commit that references this issue on Jul 1, 2026

    feat(docker): official Vite+ toolchain image (voidzero-dev#1944)

    This issue will close once commit 7985d82 is merged into the 'main' branch.
    7985d82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @fengmk2
    fengmk2

Labels

No labels
No labels

Type

Task

Fields

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

    Milestone

    • Beta

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.