Sign inSign up

guergeiro/pnpm

By guergeiro

Updated 2 months ago

Node and pnpm bundled together

Image
Developer tools
6

100K+

guergeiro/pnpm repository overview

WARNING

Since pnpm version 11, the pnpm team now provides official Docker images. This repository is only maintained for legacy purposes and will not receive updates. Please refer to the official pnpm Docker images for the latest versions and support.

Link: https://pnpm.io/docker

Quick reference

Supported node tags

  • 20
  • 22
  • 24
  • 26

Supported pnpm tags

  • 7
  • 8
  • 9
  • 10

Quick reference (cont.)

How to use this image

Create a Dockerfile in your Node.js app project
# specify the base image with your desired version
FROM guergeiro/pnpm:22-10
COPY . .
RUN pnpm install
CMD ["pnpm", "start"]

You can then build and run the Docker image:

$ docker build -t my-nodejs-app .
$ docker run -it --rm --name my-running-app my-nodejs-app

Image Variants

guergeiro/pnpm:<node-version>-<pnpm-version>

This is the defacto image.

guergeiro/pnpm:<node-version>-<pnpm-version>-alpine

This image is based on the popular Alpine Linux project, available in the alpine official image.

guergeiro/pnpm:<node-version>-<pnpm-version>-slim

This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run node.

Support is given based on Node's release schedule and the compatibility list of pnpm.

IMPORTANT:

Special versions of node - lts, latest, current - will only target the last version of pnpm.

Tag summary

Content type

Image

Digest

sha256:547a4dc1a

Size

70.5 MB

Last updated

2 months ago

docker pull guergeiro/pnpm:26-10-alpine