WIP: ajustes Dockerfile, signin e schema.prisma (correção SQLite/Prisma da sessão anterior)
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user