Commit 2f61b55
committed
fix(webui-docker): mount runtime-data so .onnx models reach the container
`dotnet publish` copies *.metadata.json under runtime-data/models/ (web
SDK content convention) but skips *.onnx, so the image had model
metadata without the actual artifacts. Autopilot Start would then fail
with "Failed to load ONNX model 'model-<id>' for autopilot runtime"
even though the host had every weight file.
Mount backend/runtime-data into /app/runtime-data so the host's .onnx
files are visible to ModelRegistryService. Side effect: trained models
no longer require an image rebuild to appear in the registry.1 parent b5276b3 commit 2f61b55
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | | - | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
0 commit comments