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
+1
View File
@@ -165,6 +165,7 @@ build_docreader_image() {
--platform $PLATFORM \
--build-arg PLATFORM=$PLATFORM \
--build-arg TARGETARCH=$TARGETARCH \
--build-arg APT_MIRROR=${APT_MIRROR:-} \
-f docker/Dockerfile.docreader \
-t wechatopenai/weknora-docreader:latest \
.