fix: remove unfrozen pnpm install from builder stages
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m3s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m3s
This commit is contained in:
parent
091495c1db
commit
768ca24eb2
2 changed files with 9 additions and 4 deletions
|
|
@ -22,9 +22,12 @@ CMD ["pnpm", "--filter", "api", "dev"]
|
|||
# 4. build
|
||||
FROM base AS builder
|
||||
WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./
|
||||
COPY apps/api/package.json ./apps/api/
|
||||
COPY packages/shared/package.json ./packages/shared/
|
||||
COPY packages/db/package.json ./packages/db/
|
||||
RUN pnpm install --frozen-lockfile
|
||||
COPY . .
|
||||
RUN pnpm install
|
||||
RUN pnpm --filter shared build
|
||||
RUN pnpm --filter db build
|
||||
RUN pnpm --filter api build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue