- Vite + React + TS + Tailwind v4 + framer-motion + lucide - 5 sections: Hero, Showcase (steps + 3 cases), Pricing, Comparison, Footer - Brand assets local (logo v2 SVG, 3 mascots, 6 scenes) under public/brand/ - Dockerfile multi-stage (node 20 build → nginx 1.27 alpine) - nginx /api/* reverse-proxy to obdx-api:8080, SPA fallback - /healthz endpoint for Coolify Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
307 B
Docker
19 lines
307 B
Docker
FROM node:20-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json* ./
|
|
RUN npm ci
|
|
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM nginx:1.27-alpine AS runtime
|
|
|
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|