fix: make Rust ML Docker build include ONNX runtime assets

- Add 'download-binaries' feature to ort crate in Cargo.toml to ensure ONNX Runtime binaries are downloaded during build
- Update .dockerignore to allow Machine_Learning/model/model.onnx through build context while still excluding other generated model artifacts (saved_model, tfjs_model, tflite)
- Dockerfile can now successfully copy model.onnx at runtime

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
Asep Haryana Saputra
2026-05-23 10:44:32 +00:00
co-authored by Claude Code
parent d33f334dc1
commit ba33bc1f23
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@ Machine_Learning/dataset
Machine_Learning/dataset.zip
Machine_Learning/dataset_*.zip
Machine_Learning/model
!Machine_Learning/model/model.onnx
Machine_Learning/best_model/*
!Machine_Learning/best_model/best_model.keras
apps/web/dist