-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Docker with pnpm install hangs on @prisma/client postinstall #11791
Copy link
Copy link
Closed
Labels
bug/2-confirmedBug has been reproduced and confirmed.Bug has been reproduced and confirmed.kind/bugA reported bug.A reported bug.tech/typescriptIssue for tech TypeScript.Issue for tech TypeScript.topic: dockertopic: pnpmtopic: postinstalltopic: prisma-client
Milestone
Description
Bug description
See pnpm/pnpm#4329 and below
How to reproduce
Create an empty directory with a Dockerfile
FROM node:16
WORKDIR /usr/src/app
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
RUN pnpm init -y
RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store\
pnpm add @prisma/client
CMD ["echo", "end"]
Run docker build . --progress=plain --no-cache
Expected behavior
It should produce a Docker build.
Environment & setup
pnpm 6.30.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug/2-confirmedBug has been reproduced and confirmed.Bug has been reproduced and confirmed.kind/bugA reported bug.A reported bug.tech/typescriptIssue for tech TypeScript.Issue for tech TypeScript.topic: dockertopic: pnpmtopic: postinstalltopic: prisma-client