Sign inSign up

m0rf30/pnpm

By m0rf30

•Updated about 12 hours ago

Node and pnpm bundled together

Image
0

10K+

m0rf30/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
  • 11
  • 12

⁠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:5a785edf2…

Size

401.4 MB

Last updated

about 12 hours ago

docker pull m0rf30/pnpm:24-8