Node.js: Staying on the LTS line

This documentation is part of the Node.js version guide. View the full guide here: How Stackhero selects and manages the Node.js version for your application.

👋 Welcome to the Stackhero documentation!

Stackhero delivers a ready-to-use Node.js cloud environment designed to help you move faster:

  • Deploy to production in seconds with a simple git push. No extra tooling or manual setup is required.
  • Bring your own domain and benefit from automatic HTTPS certificates, keeping your application secure without extra configuration.
  • Automatic backups, one-click updates, and predictable pricing help you focus on shipping features, and Stackhero manages the infrastructure for you.
  • Built on private, dedicated infrastructure for consistent performance and strong security.

Save time and reduce operational overhead: you can have your application running on Stackhero's Node.js cloud hosting in just a few minutes.

When no version is pinned, each deployment uses the current LTS release. This means you automatically receive major, minor, and security updates as they are published. Your deployment output will inform you when the base image changes:

The base image "node:lts-slim" changed: Node.js 24.9.0 to 26.2.0.

This process is designed to be safe. Your new deployment must start and respond before any traffic is sent to it. If your application is not compatible with a new major version, the previous version continues to serve users without interruption.

If you prefer to control the upgrade schedule, you can pin your current version line:

image: node:24-slim