fix: restore auth fixes — next-auth prisma adapter, serverExternalPackages, prisma db push on start
Made-with: Cursor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user