# Node.js Docker

Node.js Docker is a self-hosted tools & utilities app. Node.js Docker provides official Docker images for running Node.js applications, scripts, and services in containers.

Canonical page: https://ourlocalhost.com/app/5255/node-js-docker

## Description

Node.js Docker provides official Docker images for running Node.js applications, scripts, and services in containers. It gives homelab users maintained runtime bases, including LTS and Alpine variants, for deploying self-hosted Node.js workloads.

## Platform availability

Available on 0 of 9 platforms.

## Health score

71/100 (Good), based on 4 of 4 factors.
- Maintained: 100 (last commit 12 days ago)
- Popular: 79 (8,595 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Light to run: 40 (4 GB minimum RAM, runs on ARM)

## Links

- GitHub: https://github.com/nodejs/docker-node
- Official website: https://nodejs.org

## Common questions

### Which official Node.js Docker image variants should I consider when building node-docker?

The repository documents version-specific node: tags, node:lts, and distro variants such as node:alpine, node:bookworm, node:trixie, and node:slim. It also points to LTS, release availability, supported Node.js versions, and supported Docker versions.

### What does the Docker Compose example for a Node.js app set?

It uses the node:24 image, the node user, /home/node/app as the working directory, NODE_ENV=production, a bind mount for the app directory, port 8888, and npm start as the command.

### What deployment check should I do before running the container in production?

The Node community points to making a functional Dockerfile and testing it locally first, because that makes deploying the app to another server or cluster easier.

### Which reverse proxy does the nilsw.io Node.js self-hosting base setup use?

The setup uses Caddy as the proxy server for Docker-hosted Node.js applications.

---
Source: Our Local Host (https://ourlocalhost.com/app/5255/node-js-docker), the self-hosted and open-source app directory.
