fix: API pnpm deploy --legacy flag, AI add maturin for underthesea build
Some checks failed
CI / Lint → Typecheck → Test → Build (22) (push) Failing after 5s
Deploy / Build API Image (push) Failing after 13s
Deploy / Build Web Image (push) Failing after 13s
E2E Tests / Playwright E2E (push) Failing after 10s
CI / E2E Tests (push) Has been skipped
Deploy / Build AI Services Image (push) Failing after 12s
Deploy / Deploy to Staging (push) Has been skipped
Deploy / Smoke Test Staging (push) Has been skipped
Deploy / Deploy to Production (push) Has been skipped
Deploy / Smoke Test Production (push) Has been skipped
Deploy / Rollback Staging (push) Has been skipped
Deploy / Rollback Production (push) Has been skipped
Some checks failed
CI / Lint → Typecheck → Test → Build (22) (push) Failing after 5s
Deploy / Build API Image (push) Failing after 13s
Deploy / Build Web Image (push) Failing after 13s
E2E Tests / Playwright E2E (push) Failing after 10s
CI / E2E Tests (push) Has been skipped
Deploy / Build AI Services Image (push) Failing after 12s
Deploy / Deploy to Staging (push) Has been skipped
Deploy / Smoke Test Staging (push) Has been skipped
Deploy / Deploy to Production (push) Has been skipped
Deploy / Smoke Test Production (push) Has been skipped
Deploy / Rollback Staging (push) Has been skipped
Deploy / Rollback Production (push) Has been skipped
- API Dockerfile: add --legacy to pnpm deploy (pnpm v10 breaking change) - AI Dockerfile: install Rust toolchain + maturin (required by underthesea 6.8.0) Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ RUN npx prisma generate \
|
||||
|
||||
# Use pnpm deploy to produce a flat, production-only node_modules
|
||||
# This strips devDependencies and hoists only what @goodgo/api needs.
|
||||
RUN pnpm deploy --filter @goodgo/api --prod /app/pruned
|
||||
RUN pnpm deploy --legacy --filter @goodgo/api --prod /app/pruned
|
||||
|
||||
# ---- Production ----
|
||||
FROM node:22-slim AS production
|
||||
|
||||
Reference in New Issue
Block a user