From 7347a7af87b73d89228206eca34de54372e55be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wannes=20Salom=C3=A9?= Date: Wed, 4 Feb 2026 09:49:22 +0100 Subject: [PATCH] fix: include prisma directory in production Docker image The Dockerfile was missing the prisma directory in the runtime stage, which prevented database migrations from running in production deployments. This fix copies the prisma directory from the builder stage to the runner stage, enabling prisma migrate deploy to work correctly. Without this fix, deployments would fail with: 'Could not find Prisma Schema that is required for this command' Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 2e620e84..ce150a19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,7 @@ COPY --from=builder /app/tsconfig.json ./tsconfig.json COPY --from=builder /app/package.json ./package.json COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/sources ./sources +COPY --from=builder /app/prisma ./prisma # Expose the port the app will run on EXPOSE 3000