Node.js: Staying on the LTS line
This documentation is part of the Node.js runtime version management guide. You can view the complete guide here: How Stackhero selects and manages the Node.js version for your application.
👋 Welcome to the Stackhero documentation!
Stackhero offers a ready-to-use Node.js cloud solution designed to help you move faster:
- Deploy to production in seconds with a simple
git push. No additional tools or manual configuration needed.- Use your own domain and take advantage of automatic HTTPS certificate setup, keeping your application secure with no extra steps.
- Enjoy automatic backups, one-click updates, and predictable, transparent pricing so you can focus on building features while Stackhero manages the infrastructure.
- Benefit from dedicated, private infrastructure for optimal performance and enhanced security.
Save time and simplify your operations: 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 all major, minor, and security updates as soon as they are published. Your deployment output will notify 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 routed to it. If your application is not compatible with a new major version, the previous version will continue to serve your users without interruption.
If you prefer to control your upgrade schedule, you can pin your current version line:
image: node:24-slim