Update prisma
This commit is contained in:
+4
-5
@@ -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 . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user