11# Node.js
22
3- ![ GitHub release (latest by date)] ( https://img.shields.io/github/v/release/bfren/docker-node ) ![ Docker Pulls] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fpulls%2Fnode ) ![ Docker Image Size] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fsize%2Fnode ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/bfren/docker-node/dev .yml?branch=main )
3+ ![ GitHub release (latest by date)] ( https://img.shields.io/github/v/release/bfren/docker-node ) ![ Docker Pulls] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fpulls%2Fnode ) ![ Docker Image Size] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fsize%2Fnode ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/bfren/docker-node/build .yml?branch=main )
44
55[ Docker Hub] ( https://hub.docker.com/r/bfren/node ) - [ Quay.io] ( https://quay.io/repository/bfren/node ) - [ bfren ecosystem] ( https://github.com/bfren/docker )
66
@@ -17,7 +17,7 @@ With your app (including `node_modules`) in `./app`, and `index.js` listening on
1717``` yaml
1818services :
1919 app :
20- image : quay.io/bfren/node:node24-4.2
20+ image : quay.io/bfren/node:node24-5.0
2121 restart : unless-stopped
2222 ports :
2323 - " 127.0.0.1:3000:3000"
@@ -45,19 +45,18 @@ Images are published to Docker Hub (`bfren/node`) and Quay.io (`quay.io/bfren/no
4545| Tag | Example | Use when |
4646| ----------------- | ----------------- | ----------------------------------------------- |
4747| `nodeN` | `node24` | You want the latest image for a Node.js version |
48- | `nodeN-MAJOR` | `node24-4` | You want updates, but not breaking changes |
49- | `nodeN-MINOR` | `node24-4.2` | You want fixes only - **recommended** |
50- | `nodeN-VERSION` | `node24-4.2.6` | You want to pin this image exactly |
51- | `nodeN.M` | `node24.18` | You want an exact Node.js release |
52- | `nodeN.M-VERSION` | `node24.18-4.2.6` | You want to pin both |
53- | `latest`, `4.2.6` | | As above, on Node.js 24 |
48+ | `nodeN-MAJOR` | `node24-5` | You want updates, but not breaking changes |
49+ | `nodeN-MINOR` | `node24-5.0` | You want fixes only - **recommended** |
50+ | `nodeN-VERSION` | `node24-5.0.1` | You want to pin this image exactly |
51+ | `nodeN.M` | `node24.22` | You want an exact Node.js release |
52+ | `nodeN.M-VERSION` | `node24.22-5.0.1` | You want to pin both |
5453
5554| Node.js | Release | Alpine | Security support ends |
5655| ------- | ------- | ------ | --------------------- |
57- | 26 | 26.5.1 | 3.24 | 2029-04-30 (LTS) |
58- | 24 | 24.18 .1 | 3.24 | 2028-04-30 (LTS) |
56+ | 26 | 26.12.1 | 3.24 | 2029-04-30 (LTS) |
57+ | 24 | 24.22 .1 | 3.24 | 2028-04-30 (LTS) |
5958| 23 | 23.11.1 | 3.22 | ended 2025-06-01 |
60- | 22 | 22.23.2 | 3.22 | 2027-04-30 (LTS) |
59+ | 22 | 22.23.4 | 3.22 | 2027-04-30 (LTS) |
6160| 21 | 21.7.3 | 3.20 | ended 2024-06-01 |
6261| 20 | 20.15.1 | 3.20 | ended 2026-04-30 |
6362
@@ -94,7 +93,7 @@ The health check is the base image's, which checks cron is running - it doesn't
9493Copy your app into `/app/live` and install its dependencies when the image is built :
9594
9695` ` ` dockerfile
97- FROM quay.io/bfren/node:node24-4.2
96+ FROM quay.io/bfren/node:node24-5.0
9897
9998COPY ./app /app/live
10099RUN cd /app/live && npm ci --omit=dev
0 commit comments