feat: Replace Next.js with Astro + PDPA compliance

- Removed Next.js, moved Astro to root
- PDPA compliance: cookie consent, admin dashboard, privacy policy
- Updated Dockerfile for Astro
- Ready for Easypanel deployment with Nixpacks or Docker
This commit is contained in:
Kunthawat
2026-03-10 13:27:48 +07:00
parent 438441a03f
commit d7264a494c
10393 changed files with 3498 additions and 1522801 deletions

14
nixpacks.toml Normal file
View File

@@ -0,0 +1,14 @@
# Nixpacks Configuration for Astro
# https://nixpacks.com/docs/configuration/file
[phases.setup]
nixPkgs = ["nodejs-20_x"]
[phases.install]
cmds = ["npm ci"]
[phases.build]
cmds = ["npm run build"]
[start]
cmd = "npm run preview -- --host 0.0.0.0 --port $PORT"