diff --git a/Dockerfile b/Dockerfile index ac0eb0f..f8de648 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,7 @@ RUN chown nextjs:nodejs .next COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static COPY --from=builder --chown=nextjs:nodejs /app/prisma ./prisma +COPY --from=builder --chown=nextjs:nodejs /app/prisma.config.ts ./prisma.config.ts COPY --from=deps --chown=nextjs:nodejs /app/node_modules ./node_modules # Create data directory AFTER all copies so permissions are never clobbered @@ -58,7 +59,10 @@ ENV PORT=3000 # script to run migrations before starting COPY --chown=nextjs:nodejs <