leocrm-bot
|
f477efc366
|
fix: serve frontend in production — multi-stage Dockerfile with Node build + StaticFiles mount
- Dockerfile: add Node.js frontend build stage (vite build)
- Dockerfile: copy frontend/dist into runtime image
- app/main.py: mount /assets static files + SPA catch-all fallback
- app/main.py: serve index.html for all non-API routes
- Fixes: https://crm.media-on.de/ returning 404 (frontend not served)
|
2026-07-02 09:55:50 +02:00 |
|