This commit is contained in:
2026-03-23 14:42:36 -03:00
parent 71fd0510de
commit 5ed876d694
17 changed files with 767 additions and 137 deletions

View File

@@ -19,21 +19,19 @@ docker_build(
],
)
# Detection UI (Vue 3)
# Detection UI (Vue 3) — context is ui/ so framework link resolves
docker_build(
'mpr-detection',
context='../ui/detection-app',
context='../ui',
dockerfile='../ui/detection-app/Dockerfile',
live_update=[
sync('../ui/detection-app/src', '/app/src'),
sync('../ui/detection-app/index.html', '/app/index.html'),
sync('../ui/detection-app/vite.config.ts', '/app/vite.config.ts'),
sync('../ui/detection-app/src', '/ui/detection-app/src'),
sync('../ui/detection-app/index.html', '/ui/detection-app/index.html'),
sync('../ui/detection-app/vite.config.ts', '/ui/detection-app/vite.config.ts'),
sync('../ui/framework/src', '/ui/framework/src'),
],
)
# Framework changes trigger a full rebuild (live_update can't reach outside context)
watch_file('../ui/framework/src')
# --- Resources ---
k8s_resource('redis')