From 3e41e6a87395264b62d215f059db372056d3206a Mon Sep 17 00:00:00 2001 From: Emanuel Almeida Date: Fri, 13 Feb 2026 19:03:31 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Instalar=20todas=20deps=20(Prisma=20CLI?= =?UTF-8?q?=20=C3=A9=20devDependency)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d67a522..2eaf7df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,9 +39,9 @@ RUN useradd --system --uid 1001 nextjs COPY --from=builder /app/package.json /app/pnpm-lock.yaml ./ COPY --from=builder /app/prisma ./prisma -# Install ONLY production dependencies + Prisma (permitir build scripts) +# Install ALL dependencies (precisamos Prisma CLI que é devDependency) RUN pnpm config set ignore-scripts false -RUN pnpm install --prod --frozen-lockfile +RUN pnpm install --frozen-lockfile # Generate Prisma Client for Debian RUN pnpm prisma generate