fix(orchestrator): copy apps/api/package.json for prisma generate in Dockerfile #705

Merged
jason.woltje merged 1 commits from fix/ms23-prisma-api-pkg into main 2026-03-07 15:38:47 +00:00
Owner

Prisma generate needs a package.json at the inferred project root. Without it, Prisma tried to auto-install and failed (exit 1) in the kaniko Docker build.

Fixes the persistent docker-build-orchestrator failure in CI #948, #950, #951, #954.

Prisma generate needs a package.json at the inferred project root. Without it, Prisma tried to auto-install and failed (exit 1) in the kaniko Docker build. Fixes the persistent docker-build-orchestrator failure in CI #948, #950, #951, #954.
jason.woltje added 1 commit 2026-03-07 15:38:44 +00:00
fix(orchestrator): copy apps/api/package.json into Dockerfile for prisma generate
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
7e299f74b5
Prisma generate needs a package.json in the inferred project root to identify
the workspace. Without it, Prisma tries to auto-install and fails.

Copying apps/api/package.json alongside the schema file provides the required
project root marker.
jason.woltje merged commit fc4699ca51 into main 2026-03-07 15:38:47 +00:00
Sign in to join this conversation.