-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
967aa96
commit 3e842cd
Showing
1 changed file
with
1 addition
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,12 +32,11 @@ RUN pnpm install --frozen-lockfile | |
# Instalar dependências e garantir versões compatíveis do Prisma | ||
RUN cd apps/api && \ | ||
pnpm add @prisma/[email protected] && \ | ||
pnpm add -D [email protected] && \ | ||
pnpm install | ||
|
||
# Gerar Prisma Client explicitamente | ||
RUN cd apps/api && \ | ||
pnpm dlx prisma generate --schema=./prisma/schema.prisma | ||
pnpm prisma generate --schema=./prisma/schema.prisma | ||
|
||
# Build após garantir que o Prisma Client foi gerado | ||
RUN cd apps/api && \ | ||
|