mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-04 16:13:23 +00:00
setup.ps1 wrote OCR_ENABLED=true but never INSTALL_TESSERACT=true, so a Windows user answering yes to the OCR question ended up with OCR on and no engine in the image; it also claimed tesseract was "shipped in the Docker image", which this change makes false, and offered OCR for the pre-built Docker Hub images that cannot include it. Mirror setup.sh: skip the question for hub images (naming all three settings the DeepSeek path needs), and bake tesseract in for locally built ones. The upgrade callout said earlier images always included tesseract. They never did -- they included docling, and OCR ran on the RapidOCR engine bundled with it, needing no system package. It also covered only OCR_ENABLED, missing OCR_ATTACHMENTS_ENABLED, which is a separate switch onto the same native OCR path.