Update prisma

This commit is contained in:
2025-09-14 18:46:23 +02:00
parent 600ccb4207
commit c542916c99
7 changed files with 64 additions and 23 deletions
+4 -5
View File
@@ -10,9 +10,9 @@ COPY --link package.json ./package.json
COPY --link bun.lock ./bun.lock
COPY --link prisma ./prisma
COPY --link shared ./shared
RUN apt-get update -y && apt-get install -y openssl
RUN bun add prisma@6.13.0
RUN bun add prisma@6.16.1
RUN bunx --bun prisma generate
FROM oven/bun:${BUN_VERSION} AS base
@@ -26,9 +26,8 @@ FROM base AS build
COPY --link package.json bun.lock ./
RUN bun install --include=dev
COPY --from=prisma /src/node_modules/.prisma node_modules/.prisma
COPY --from=prisma /src/node_modules/@prisma node_modules/@prisma
RUN bun install --production
COPY --from=prisma /src/shared/generated shared/generated
COPY --link . .