WIP: ajustes Dockerfile, signin e schema.prisma (correção SQLite/Prisma da sessão anterior)

This commit is contained in:
Carlos
2026-07-11 19:20:00 +02:00
parent 3b4117c9b4
commit 07835d2a7b
3 changed files with 36 additions and 28 deletions
+3 -1
View File
@@ -6,7 +6,10 @@ WORKDIR /app
FROM base AS deps
RUN apk add --no-cache libc6-compat openssl
COPY package.json package-lock.json* ./
COPY prisma ./prisma/
RUN npm install --frozen-lockfile
# Generate Prisma Client with correct binary targets
RUN npx prisma generate
# Build stage
FROM base AS builder
@@ -17,7 +20,6 @@ RUN apk add --no-cache openssl
COPY --from=deps /app/node_modules ./node_modules
COPY . .
ENV NEXT_TELEMETRY_DISABLED=1
RUN npx prisma generate
RUN npm run build
# Production stage