Commit graph

21 commits

Author SHA1 Message Date
anouarbm
3f64a74c0a Add dedicated Dockerfile for prebuilt graphs and refresh docs 2025-11-02 20:06:10 +01:00
anouarbm
4bc1a91988 feat: support optional pre-built knowledge graphs in Docker images
This change enables shipping Docker images with pre-indexed knowledge graphs,
eliminating the need to re-index documents in production deployments.

Benefits:
- Reduces embedding API costs (no re-indexing in production)
- Enables instant query capability (zero startup delay)
- Ensures consistent embeddings across deployments
- Simplifies multi-region and offline deployments

Changes:
- Modified Dockerfile to optionally copy pre-built graph file
- Updated .dockerignore to allow specific graph files through
- Added comprehensive rag_storage/README.md documentation

Implementation Details:
- Graph file: graph_chunk_entity_relation.graphml
- Copy is optional: builds succeed with or without the file
- .dockerignore pattern allows graph while excluding other storage
- Documentation covers use cases, best practices, and troubleshooting

Usage:
1. Build knowledge graph locally
2. Docker build automatically includes it if present
3. Deploy container with instant query capability

The feature is backward compatible - existing builds work unchanged.
2025-11-01 22:04:14 +01:00
yangdx
daeca17f38 Change default docker image to offline version
• Add lite verion docker image with tiktoken cache
• Update docs and build scripts
2025-10-16 16:52:01 +08:00
yangdx
8e3497dcbf Update comments 2025-10-16 14:24:51 +08:00
yangdx
ef6ed429ed Optimize Docker builds with layer caching and add pip for runtime installs
• Split deps and source code layers
• Add --no-editable flag to uv sync
• Install pip for runtime packages
• Improve build cache efficiency
2025-10-16 13:16:22 +08:00
yangdx
65c2eb9f99 Migrate Dockerfile from pip to uv package manager for faster builds
• Replace pip with uv for dependencies
• Add offline extras to Dockerfile.offline
• Update UV_LOCK_GUIDE.md with new commands
• Improve build caching and performance
2025-10-16 01:54:20 +08:00
yangdx
e5cbc593f4 Optimize Docker build with multi-stage frontend compilation
• Add frontend build stage to Dockerfile
• Remove --production flag from bun install
• Fix frontend asset integration
2025-10-14 15:02:58 +08:00
yangdx
540a83ea1c Add --use-pep517 flag to all pip install commands in Dockerfile 2025-08-24 01:07:23 +08:00
yangdx
b815e47f7c Upgrade Python to 3.12 and update pip/setuptools in Dockerfile
• Upgrade base image to Python 3.12
• Update pip, setuptools, wheel
2025-08-23 23:38:39 +08:00
yangdx
488028b9e2 Remove separate requirements.txt and update Dockerfile to use pip install 2025-07-18 01:58:46 +08:00
yangdx
313b7d5423 Update dockerfile 2025-05-14 11:11:27 +08:00
yangdx
cb4ae4f62a Update docker files 2025-05-13 21:22:00 +08:00
coredevorg
bc5ccc5f19 Update Dockerfile and API requirements for improved build and dependencies
- Add Rust installation to Dockerfile for potential performance improvements
- Set explicit Docker data directories
- Add graspologic library to API requirements
- Optimize Docker build stages and environment setup
2025-03-11 10:39:55 +00:00
ArnoChen
9aba7d7d48 simplify dockerfile and docker-compose files 2025-02-20 22:18:42 +08:00
Enrique Catalá
4d0a316717 exclude .env file with potentionally sensitive information like LLM API KEYS 2025-02-12 21:32:19 +01:00
Soichi Sumi
b958573afd
Fix: docker build 2025-01-22 15:48:07 +09:00
Saifeddine ALOUI
5bb9d9f0c0 Removed unnecessary files from docker 2025-01-17 02:31:23 +01:00
Saifeddine ALOUI
b2e7c75f5a Added Docker container setup 2025-01-16 22:28:28 +01:00
LarFii
44d441a951 update insert custom kg 2024-12-04 19:44:04 +08:00
LarFii
d0c1844264 Linting 2024-11-11 10:45:22 +08:00
Ken Wiltshire
465c9a13d9 cleaning code for pull 2024-11-01 16:29:36 -04:00