fix(docker): make pnpm deploy work under pnpm v10
This commit is contained in:
parent
35b58f4cb1
commit
607fcbf3d7
@ -33,7 +33,7 @@ COPY services/billing-service/src/ services/billing-service/src/
|
||||
RUN pnpm -r --filter @lysnrai/billing-service... build
|
||||
|
||||
# Deploy to isolated directory (production deps only)
|
||||
RUN pnpm --filter @lysnrai/billing-service deploy /app/deploy
|
||||
RUN pnpm --filter @lysnrai/billing-service deploy --legacy /app/deploy
|
||||
|
||||
# ── Production ─────────────────────────────────────────────
|
||||
FROM node:22-alpine
|
||||
|
||||
@ -37,7 +37,7 @@ COPY services/extraction-service/src/ services/extraction-service/src/
|
||||
RUN pnpm -r --filter @lysnrai/extraction-service... build
|
||||
|
||||
# Deploy to isolated directory (production deps only)
|
||||
RUN pnpm --filter @lysnrai/extraction-service deploy /app/deploy
|
||||
RUN pnpm --filter @lysnrai/extraction-service deploy --legacy /app/deploy
|
||||
|
||||
# ── Stage 2: Python sidecar build ────────────────────────────────
|
||||
FROM python:3.12-slim AS py-builder
|
||||
|
||||
@ -33,7 +33,7 @@ COPY services/growth-service/src/ services/growth-service/src/
|
||||
RUN pnpm -r --filter @lysnrai/growth-service... build
|
||||
|
||||
# Deploy to isolated directory (production deps only)
|
||||
RUN pnpm --filter @lysnrai/growth-service deploy /app/deploy
|
||||
RUN pnpm --filter @lysnrai/growth-service deploy --legacy /app/deploy
|
||||
|
||||
# ── Production ─────────────────────────────────────────────
|
||||
FROM node:22-alpine
|
||||
|
||||
@ -33,7 +33,7 @@ COPY services/platform-service/src/ services/platform-service/src/
|
||||
RUN pnpm -r --filter @lysnrai/platform-service... build
|
||||
|
||||
# Deploy to isolated directory (production deps only)
|
||||
RUN pnpm --filter @lysnrai/platform-service deploy /app/deploy
|
||||
RUN pnpm --filter @lysnrai/platform-service deploy --legacy /app/deploy
|
||||
|
||||
# ── Production ─────────────────────────────────────────────
|
||||
FROM node:22-alpine
|
||||
|
||||
@ -33,7 +33,7 @@ COPY services/tracker-service/src/ services/tracker-service/src/
|
||||
RUN pnpm -r --filter @lysnrai/tracker-service... build
|
||||
|
||||
# Deploy to isolated directory (production deps only)
|
||||
RUN pnpm --filter @lysnrai/tracker-service deploy /app/deploy
|
||||
RUN pnpm --filter @lysnrai/tracker-service deploy --legacy /app/deploy
|
||||
|
||||
# ── Production ─────────────────────────────────────────────
|
||||
FROM node:22-alpine
|
||||
|
||||
Loading…
Reference in New Issue
Block a user