Skip to content

Commit

Permalink
Fix issue with lost built trigger.dev files after prisma generate (#1429
Browse files Browse the repository at this point in the history
)

* Fix issue with lost built trigger.dev files after prisma generate on deploy

* Add changeset
  • Loading branch information
ericallam authored Oct 24, 2024
1 parent cfb9685 commit c31700a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cuddly-pugs-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"trigger.dev": patch
---

Fix issue with prisma extension breaking deploy builds
3 changes: 3 additions & 0 deletions packages/cli-v3/src/deploy/buildImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ COPY --chown=node:node . .
${postInstallCommands}
# IMPORTANT: Doing this again to fix an issue with prisma generate removing the files in node_modules/trigger.dev for some reason...
COPY --chown=node:node . .
FROM build AS indexer
USER node
Expand Down

0 comments on commit c31700a

Please sign in to comment.