Skip to content

Commit

Permalink
chore: fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoPorfirio01 committed Dec 31, 2024
1 parent c457112 commit 2c5ef7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY apps/api/ ./apps/api/
RUN pnpm install --frozen-lockfile

# Gerar Prisma Client
RUN cd apps/api && pnpm prisma generate && prisma migrate deploy
RUN cd apps/api && pnpm prisma generate && pnpm prisma migrate deploy

# Build
RUN pnpm --filter @chat/api build
Expand All @@ -31,7 +31,6 @@ FROM node:20-alpine

RUN addgroup -S appgroup && adduser -S appuser -G appgroup


WORKDIR /app

RUN corepack enable && corepack prepare pnpm@latest --activate
Expand Down

0 comments on commit 2c5ef7b

Please sign in to comment.