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:
14
.docker/Dockerfile
Normal file
14
.docker/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user