fix(Docker): ship prebuilt frontend/dist, drop npm from image (removes 'vite not found')

The Vue SPA is now built locally and its frontend/dist/ committed (force-added).
Dockerfile is a single-stage runtime: copy prebuilt dist + python:3.11 + Flask.
No node/npm inside the image -> deterministic, no npm/esbuild postinstall flakiness.
To update UI: edit src, npm run build, commit frontend/dist/.
This commit is contained in:
Macky
2026-08-07 19:46:20 +07:00
parent 4827481da3
commit c19b23d44d
30 changed files with 80 additions and 13 deletions

View File

@@ -3,7 +3,6 @@ venv/
**/__pycache__/
*.pyc
**/node_modules/
frontend/dist/
backend/data/
data/
.env