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
.docker/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# Astro Production Dockerfile
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY . .
RUN npm run build
EXPOSE 4321
CMD ["npm", "run", "preview", "--", "--host", "0.0.0.0", "--port", "4321"]