Commit graph

2 commits

Author SHA1 Message Date
juancarlos.cavero
2a0e5e0de5 chore(prod): production frontend build + skip AWS upload in cloud + /health
- dashboard/Dockerfile: multi-stage — 'dev' (Vite HMR for local compose) and
  'prod' (npm build -> nginx static serving, SPA fallback). Prod is the default
  target so Coolify builds the static app; VITE_API_URL is a build arg.
- dashboard/nginx.conf: SPA routing + asset caching + basic security headers.
- docker-compose.yml: local frontend targets the dev stage.
- app.py: skip the redundant AWS S3 upload in cloud mode (R2 is the store now);
  add a /health liveness endpoint for uptime checks.

Verified: prod image serves index.html + deep-link fallback (200).
2026-07-14 15:32:01 +02:00
juancarlos.cavero
d5121ed9dd added front-end and backend 2025-12-19 17:59:03 +01:00