Lightweight Node.js on Alpine Linux with pnpm pre-installed.
3.6K
| Repository | Link |
|---|---|
| GitHub | https://github.com/tackleza/docker-node |
| Docker Hub | https://hub.docker.com/r/tackleza/node |
A lightweight Node.js Docker image based on Alpine Linux, with pnpm pre-installed globally on all variants.
| Tag | Node.js Version |
|---|---|
20-alpine | Node.js 20 |
21-alpine | Node.js 21 |
22-alpine | Node.js 22 |
23-alpine | Node.js 23 |
24-alpine | Node.js 24 |
25-alpine | Node.js 25 |
latest | Node.js 25 |
All images are based on the official node:<version>-alpine images.
FROM tackleza/node:22-alpine
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN corepack enable && pnpm install --frozen-lockfile
COPY . .
CMD ["node", "index.js"]
docker run -it tackleza/node:22-alpine sh
node --version
pnpm --version
docker run -it -v $(pwd):/app tackleza/node:22-alpine sh
This image is functionally identical to the official node Alpine image, but with pnpm pre-installed so you don't need to install it in every layer.
node:<version>-alpine — Minimal Alpine Linux-based Node.js imagesContent type
Image
Digest
sha256:3fde3ea34…
Size
66.7 MB
Last updated
17 days ago
docker pull tackleza/node