From fca06c63942df45d39b3ab5dd42ff0ea84574749 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sun, 7 Apr 2024 01:02:54 -1000 Subject: [PATCH] Copy Prisma folder in production --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 16b467c8..5f6b67ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ COPY --from=install /temp/node_modules /temp/node_modules WORKDIR /temp RUN bunx --bun prisma generate RUN bun run prod-build +COPY prisma /temp # copy production dependencies and source code into final image # Alpine (musl) causes errors with Bun :(