Fix issue with lost built trigger.dev files after prisma generate (#1429)

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

* Add changeset
This commit is contained in:
Eric Allam
2024-10-24 10:43:26 +01:00
committed by GitHub
parent cfb96859b3
commit c31700ae5f
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"trigger.dev": patch
---
Fix issue with prisma extension breaking deploy builds
+3
View File
@@ -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