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 8258b26 commit 75c26bfCopy full SHA for 75c26bf
Dockerfile
@@ -15,7 +15,7 @@ WORKDIR /app
15
16
# pnpm fetch does require only lockfile
17
# 注意还需要复制 `.npmrc`,因为里面可能包含 npm registry 等配置,下载依赖需要用到
18
-COPY package.json pnpm-lock.yaml ./
+COPY package.json pnpm-lock.yaml .npmrc ./
19
COPY patches ./patches
20
21
# 推荐使用 pnpm fetch 命令下载依赖到 virtual store,专为 docker 构建优化
0 commit comments