Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ The next best thing you can do is using BuildKit cache mount to share cache betw

:::

:::note

If you are using node version newer than 25, you may replace `corepack enable` with `npm install -g pnpm@latest`.

:::

[podman]: ./podman.md

## Minimizing Docker image size and build time
Expand Down
1 change: 1 addition & 0 deletions docs/podman.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ FROM node:20-slim

# corepack is an experimental feature in Node.js v20 which allows
# installing and managing versions of pnpm, npm, yarn
# If you are using node version newer than 25, replace it with `npm install -g pnpm@latest`.
RUN corepack enable

VOLUME [ "/pnpm-store", "/app/node_modules" ]
Expand Down