guergeiro/pnpm

By guergeiro

Updated about 23 hours ago

Node and pnpm bundled together

Image
Developer Tools

50K+

Quick reference

Supported tags and respective Dockerfile links

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.

Docker Pull Command

docker pull guergeiro/pnpm