Adapt for self-hosted deployment on Coolify

- Replace @vercel/postgres with standard pg library
- Add Dockerfile for Next.js standalone build
- Add tsconfig.json, postcss.config.js
- Fix globals.css undefined tailwind utilities
- Force dynamic rendering for DB-dependent pages
- Add .dockerignore
This commit is contained in:
Min Zeya Phyo
2026-02-19 16:51:31 +08:00
parent dddb86ea94
commit 98af1c7cec
11 changed files with 112 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
import { sql } from '@vercel/postgres'
import { sql } from '@/lib/db'
import { notFound } from 'next/navigation'
export const dynamic = 'force-dynamic'
import Link from 'next/link'
import Image from 'next/image'