Skip to content

Commit c457a60

Browse files
committed
Fix issue with lost built trigger.dev files after prisma generate on deploy
1 parent 67542a5 commit c457a60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/cli-v3/src/deploy/buildImage.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,9 @@ COPY --chown=node:node . .
602602
603603
${postInstallCommands}
604604
605+
# IMPORTANT: Doing this again to fix an issue with prisma generate removing the files in node_modules/trigger.dev for some reason...
606+
COPY --chown=node:node . .
607+
605608
FROM build AS indexer
606609
607610
USER node

0 commit comments

Comments
 (0)