diff --git a/.changeset/cuddly-pugs-begin.md b/.changeset/cuddly-pugs-begin.md new file mode 100644 index 0000000000..11eb3293df --- /dev/null +++ b/.changeset/cuddly-pugs-begin.md @@ -0,0 +1,5 @@ +--- +"trigger.dev": patch +--- + +Fix issue with prisma extension breaking deploy builds diff --git a/packages/cli-v3/src/deploy/buildImage.ts b/packages/cli-v3/src/deploy/buildImage.ts index 6e00ccaa84..62c2da2844 100644 --- a/packages/cli-v3/src/deploy/buildImage.ts +++ b/packages/cli-v3/src/deploy/buildImage.ts @@ -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