Skip to content

Commit

Permalink
chore: fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoPorfirio01 committed Jan 1, 2025
1 parent 0e12c86 commit 967aa96
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,4 @@ HEALTHCHECK --interval=30s --timeout=3s \
CMD wget --no-verbose --tries=1 --spider http://localhost:3333/health || exit 1

# Comando de inicialização
CMD ["pnpm", "start"]

# Garantir que o Prisma Client seja regenerado no ambiente de produção
RUN cd apps/api && \
pnpm dlx prisma generate --schema=./prisma/schema.prisma
CMD ["pnpm", "start"]

0 comments on commit 967aa96

Please sign in to comment.