fix: restore auth fixes — next-auth prisma adapter, serverExternalPackages, prisma db push on start

Made-with: Cursor
This commit is contained in:
2026-02-27 12:30:52 -08:00
parent 8e6406232d
commit 17056ea00c
5 changed files with 9 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ FROM base AS deps
RUN apk add --no-cache libc6-compat python3 make g++
WORKDIR /app
COPY package*.json ./
RUN npm ci --legacy-peer-deps --ignore-scripts
RUN npm install --legacy-peer-deps --ignore-scripts
FROM base AS builder
WORKDIR /app
@@ -41,6 +41,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
COPY --from=builder /app/node_modules/.prisma ./node_modules/.prisma
COPY --from=builder /app/node_modules/@prisma ./node_modules/@prisma
COPY --from=builder /app/node_modules/@next-auth ./node_modules/@next-auth
COPY --from=builder /app/prisma ./prisma
# Copy and set up entrypoint