Coolify injects NODE_ENV=production at build time, causing `pnpm install --frozen-lockfile` to skip devDependencies. Next.js build then fails on missing @tailwindcss/postcss. Override NODE_ENV=development and pass --prod=false for the install step only. Builder stage still runs `next build` with NODE_ENV=production, which is the intended runtime mode. Also commits apps/dashboard/.env.production with public URLs so Next.js bakes NEXT_PUBLIC_* into the bundle at build time (Coolify API rejects the is_build_time flag, so we can't mark them runtime).
Next.js template
This is a Next.js template with shadcn/ui.
Adding components
To add components to your app, run the following command:
npx shadcn@latest add button
This will place the ui components in the components directory.
Using components
To use the components in your app, import them as follows:
import { Button } from "@/components/ui/button";