fix(docker): include pnpm workspace in deps stage

- copy pnpm-workspace.yaml in docker deps stage
- fix pnpm frozen install failure in buildx workflow
- keep allowed build scripts available during image build
- apply repository formatting updates in store module
This commit is contained in:
siujamo committed 2026-08-31 14:08:08 +08:00
1 parent f3e31d1a06
commit 971a59a997
2 files changed
+135 -132

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ RUN corepack enable
FROM base AS deps
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \
pnpm install --frozen-lockfile