Repository navigation
Commit 9c641ae
committed
fix(docker): COPY web/.npmrc,避免 frozen-lockfile 配置不一致
auto-install-peers=false 写在 .npmrc 里,镜像构建只 COPY 了 package.json /
pnpm-lock.yaml / pnpm-workspace.yaml,容器内 pnpm 退回默认 autoInstallPeers=true,
与 lockfile 的 settings.autoInstallPeers: false 不匹配,直接报
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH。1 parent c53ba4b commit 9c641ae
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
0 commit comments