Skip to content

Commit 0d3ada0

Browse files
committed
Add Prisma client generation to all Dockerfiles
1 parent 7ef907c commit 0d3ada0

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

backend/Dockerfile.api

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ WORKDIR /app
44
RUN corepack enable && corepack prepare pnpm@9.9.0 --activate
55
COPY . .
66
RUN pnpm install --frozen-lockfile
7+
# generate Prisma client
8+
RUN pnpm prisma:generate
79
# build tous les workspaces (libs + apps) pour résoudre les liens pnpm
810
RUN pnpm -r build
911
# garder uniquement deps prod

backend/Dockerfile.indexer

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ WORKDIR /app
44
RUN corepack enable && corepack prepare pnpm@9.9.0 --activate
55
COPY . .
66
RUN pnpm install --frozen-lockfile
7+
# generate Prisma client
8+
RUN pnpm prisma:generate
79
RUN pnpm -r build
810
RUN pnpm prune --prod
911

backend/Dockerfile.relayerOnChainAum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
RUN corepack enable && corepack prepare pnpm@9.9.0 --activate
55
COPY . .
66
RUN pnpm install --frozen-lockfile
7+
# generate Prisma client
8+
RUN pnpm prisma:generate
79
RUN pnpm -r build
810
RUN pnpm prune --prod
911

0 commit comments

Comments
 (0)