feat: enhance Dockerfile and build scripts for customizable APT mirror

- Added support for customizable APT mirror in the Dockerfile for the docreader service, allowing users to specify a mirror via build arguments.
- Updated docker-compose.yml to pass the APT_MIRROR argument during the build process.
- Modified build_images.sh script to include the APT_MIRROR argument when building the docreader image.
- Updated .gitignore to exclude .cursor/ directory.

This update improves flexibility in package management during the image build process.
This commit is contained in:
wizardchen
2026-02-28 16:06:54 +08:00
committed by lyingbug
parent 469f320d10
commit 6d88619869
5 changed files with 16 additions and 7 deletions
+2
View File
@@ -145,6 +145,8 @@ services:
build:
context: .
dockerfile: docker/Dockerfile.docreader
args:
- APT_MIRROR=${APT_MIRROR:-}
container_name: WeKnora-docreader
ports:
- "${DOCREADER_PORT:-50051}:50051"