fix(orchestrator): use symlink path in prisma:generate script
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
PR #707 added the symlink apps/orchestrator/prisma/schema.prisma but accidentally reverted the script back to ../api/prisma/schema.prisma. Docker does not have apps/api/prisma/ — the symlink IS the schema. Change script to ./prisma/schema.prisma so both CI (symlink resolved) and Docker (symlink followed by kaniko COPY) work correctly.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"dev": "nest start --watch",
|
||||
"lint": "eslint src/",
|
||||
"lint:fix": "eslint src/ --fix",
|
||||
"prisma:generate": "prisma generate --schema=../api/prisma/schema.prisma",
|
||||
"prisma:generate": "prisma generate --schema=./prisma/schema.prisma",
|
||||
"start": "node dist/main.js",
|
||||
"start:debug": "nest start --debug --watch",
|
||||
"start:dev": "nest start --watch",
|
||||
|
||||
Reference in New Issue
Block a user