2 Commits

Author SHA1 Message Date
Claude Agent
7295c9d243 fix(nginx): disable caching for index.html to prevent stale JS bundles
Without Cache-Control: no-cache on index.html, browsers serve old
cached HTML referencing outdated JS bundle hashes after deployment.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 10:57:01 +00:00
Claude Agent
b9f994cf8d feat(docker): add Docker Compose deployment for Dokploy
- backend/Dockerfile: Python 3.12-slim, uvicorn on port 8000
- frontend/Dockerfile: multi-stage Node build + nginx:alpine serve
- frontend/nginx.conf: proxy /api to backend, SPA routing for Vue Router
- docker-compose.yml: backend+frontend services with Traefik labels
- fix(cors): use settings.frontend_url instead of hardcoded localhost

Fixes Nixpacks detection failure (requirements.txt/package.json not at root).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 07:32:28 +00:00