diff --git a/cannamanage-frontend/src/app/(marketing)/layout.tsx b/cannamanage-frontend/src/app/(marketing)/layout.tsx index c949f27..9c3b3c0 100644 --- a/cannamanage-frontend/src/app/(marketing)/layout.tsx +++ b/cannamanage-frontend/src/app/(marketing)/layout.tsx @@ -5,6 +5,10 @@ import { Cannabis } from "lucide-react" import type { ReactNode } from "react" +// Force dynamic rendering — prevents NextAuth from being called at build time +// (AUTH_URL is not available during Docker image build) +export const dynamic = "force-dynamic" + export default async function MarketingLayout({ children, }: {