phase 3
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user