We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b19a7 commit 87b7d96Copy full SHA for 87b7d96
Dockerfile
@@ -36,8 +36,9 @@ RUN \
36
npm config set registry "https://registry.npmmirror.com/"; \
37
fi \
38
&& export COREPACK_NPM_REGISTRY=$(npm config get registry | sed 's/\/$//') \
39
+ && npm i -g corepack@latest \
40
&& corepack enable \
- && corepack use pnpm \
41
+ && corepack use $(sed -n 's/.*"packageManager": "\(.*\)".*/\1/p' package.json) \
42
&& pnpm i \
43
&& npm run build
44
0 commit comments