Skip to content

Commit

Permalink
fix: pnpm patch in root folder (#1739)
Browse files Browse the repository at this point in the history
@coderabbitai: ignore

Co-authored-by: Zoe <13400804+zoe-icu@users.noreply.github.com>
  • Loading branch information
zoe-icu and zoe-icu committed May 6, 2024
1 parent a216cf0 commit 3e055b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packaging/Dockerfile.room-server
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ FROM apitable/node:v16.15.0 AS builder
WORKDIR /app

COPY --from=deps /app/node_modules ./node_modules
COPY --from=deps /app/patches ./patches
COPY --from=deps /app/packages/i18n-lang/node_modules ./packages/i18n-lang/node_modules
COPY --from=deps /app/packages/core/node_modules ./packages/core/node_modules
COPY --from=deps /app/packages/room-server/node_modules ./packages/room-server/node_modules
Expand Down
1 change: 1 addition & 0 deletions packaging/Dockerfile.storybook
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ FROM apitable/nodepy:16.15.0-alpine AS builder

WORKDIR /app

COPY --from=deps /workspace-install/patches ./patches
COPY --from=deps /workspace-install/node_modules ./node_modules
COPY --from=deps /workspace-install/packages/components/node_modules ./packages/components/node_modules

Expand Down
1 change: 1 addition & 0 deletions packaging/Dockerfile.web-server
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ WORKDIR /app
COPY ./pnpm-workspace.yaml ./build.js ./package.json ./pnpm-lock.yaml ./nx.json ./common-tsconfig.json ./tsconfig.json ./.eslintrc ./
COPY packages/ ./packages/

COPY --from=deps /workspace-install/patches ./patches
COPY --from=deps /workspace-install/node_modules ./node_modules
COPY --from=deps /workspace-install/packages/datasheet/node_modules ./packages/datasheet/node_modules
COPY --from=deps /workspace-install/packages/components/node_modules ./packages/components/node_modules
Expand Down

0 comments on commit 3e055b5

Please sign in to comment.