add build automation and HNSW implementation guide

- Create automated build script with version extraction and Aliyun registry push
- Add comprehensive HNSW implementation guide with step-by-step instructions
- Update Dockerfile to use musl target and enc binary for deployment
- Include performance optimization strategies and debugging tips
This commit is contained in:
2025-07-24 18:58:28 +08:00
parent e85eb8a9e8
commit 8b47403cc0
3 changed files with 170 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ COPY run.sh /home/admin/predict/run.sh
RUN chmod 777 /home/admin/predict/run.sh
# Copy the compiled binary as 'test' executable
COPY target/release/hfe_knn /home/admin/predict/test
COPY target/x86_64-unknown-linux-musl/release/enc /home/admin/predict/test
RUN chmod +x /home/admin/predict/test
# Copy training data