From 715d8422b317d778870185425d7ceb320c4ad827 Mon Sep 17 00:00:00 2001 From: thercd <33912026+thercd@users.noreply.github.com> Date: Thu, 25 Jan 2024 11:50:15 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Update=20version=20of=20copied?= =?UTF-8?q?=20prisma=20files=20in=20Dockerfile=20(#1186)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary by CodeRabbit - **New Features** - Updated Prisma packages to enhance database interactions. - Introduced additional dependencies to improve debugging and platform compatibility. - **Chores** - Performed schema generation with the latest Prisma version. --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index da8b115c7..96f6a5de4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,9 +45,13 @@ COPY --from=builder /app/node_modules/.pnpm/next-runtime-env@1.6.2/node_modules/ ## Copy prisma package and its dependencies and generate schema COPY ./packages/prisma/postgresql ./packages/prisma/postgresql -COPY --from=builder /app/node_modules/.pnpm/@prisma+client@5.0.0_prisma@5.0.0/node_modules/@prisma/client ./node_modules/@prisma/client -COPY --from=builder /app/node_modules/.pnpm/@prisma+engines@5.0.0/node_modules/@prisma/engines ./node_modules/@prisma/engines -COPY --from=builder /app/node_modules/.pnpm/prisma@5.0.0/node_modules/prisma ./node_modules/prisma +COPY --from=builder /app/node_modules/.pnpm/@prisma+client@5.8.0_prisma@5.8.0/node_modules/@prisma/client ./node_modules/@prisma/client +COPY --from=builder /app/node_modules/.pnpm/@prisma+engines@5.8.0/node_modules/@prisma/engines ./node_modules/@prisma/engines +COPY --from=builder /app/node_modules/.pnpm/@prisma+debug@5.8.0/node_modules/@prisma/debug ./node_modules/@prisma/debug +COPY --from=builder /app/node_modules/.pnpm/@prisma+get-platform@5.8.0/node_modules/@prisma/get-platform ./node_modules/@prisma/get-platform +COPY --from=builder /app/node_modules/.pnpm/@prisma+fetch-engine@5.8.0/node_modules/@prisma/fetch-engine ./node_modules/@prisma/fetch-engine +COPY --from=builder /app/node_modules/.pnpm/@prisma+engines-version@5.8.0-37.0a83d8541752d7582de2ebc1ece46519ce72a848/node_modules/@prisma/engines-version ./node_modules/@prisma/engines-version +COPY --from=builder /app/node_modules/.pnpm/prisma@5.8.0/node_modules/prisma ./node_modules/prisma COPY --from=builder /app/node_modules/.bin/prisma ./node_modules/.bin/prisma RUN ./node_modules/.bin/prisma generate --schema=packages/prisma/postgresql/schema.prisma;