fix(orchestrator): copy schema to overwrite dangling symlink in Docker #709
Reference in New Issue
Block a user
Delete Branch "fix/ms23-prisma-kaniko-symlink"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Kaniko does not follow symlinks on COPY — it copies symlinks as-is. The symlink target (../../api/prisma/schema.prisma) is dangling inside the container. Explicitly copy the real file after the orchestrator COPY to overwrite the symlink with actual content.