Sign inSign up

tackleza/node

By tackleza

Updated 17 days ago

Lightweight Node.js on Alpine Linux with pnpm pre-installed.

Image
Developer tools
0

3.6K

tackleza/node repository overview

node

A lightweight Node.js Docker image based on Alpine Linux, with pnpm pre-installed globally on all variants.

Available Tags

TagNode.js Version
20-alpineNode.js 20
21-alpineNode.js 21
22-alpineNode.js 22
23-alpineNode.js 23
24-alpineNode.js 24
25-alpineNode.js 25
latestNode.js 25

All images are based on the official node:<version>-alpine images.

What's Included

  • pnpm — Fast, disk space efficient package manager, installed globally on all variants

Usage

Basic example
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"]
Run interactively
docker run -it tackleza/node:22-alpine sh
node --version
pnpm --version
With a volume for a project
docker run -it -v $(pwd):/app tackleza/node:22-alpine sh

Why Use This Image?

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.

Parent Image

Tag summary

Content type

Image

Digest

sha256:3fde3ea34

Size

66.7 MB

Last updated

17 days ago

docker pull tackleza/node