Personal favorites tracker: Next.js 16 App Router, Prisma/PostgreSQL, NextAuth v5 credentials auth with admin/friend roles, category-driven custom fields, lending library, optional S3 cover images. Deployment: multi-stage Dockerfile (standalone output) whose entrypoint runs prisma migrate deploy and the idempotent seed on every boot; env validation made lazy so next build works in the secret-free image. See DEPLOY.md for Coolify setup. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
322 B
TypeScript
11 lines
322 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// A stray lockfile exists in the parent directory; pin the workspace root.
|
|
turbopack: { root: __dirname },
|
|
// Minimal self-contained server bundle for the Docker image (see Dockerfile).
|
|
output: "standalone",
|
|
};
|
|
|
|
export default nextConfig;
|