Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
fix: update maca.Dockerfile to use absolute paths for Python and mineru commands
myhloli35d5ba8b8fb9
diff --git a/docker/china/maca.Dockerfile b/docker/china/maca.Dockerfileindex 9801cbf0..1ee55066 100644--- a/docker/china/maca.Dockerfile+++ b/docker/china/maca.Dockerfile@@ -20,15 +20,15 @@ RUN sed -i '3s/^Version: 0.15.1+metax3\.1\.0\.4$/Version: 0.21.0+metax3.1.0.4/'mv /opt/conda/lib/python3.10/site-packages/torchvision-0.15.1+metax3.1.0.4.dist-info /opt/conda/lib/python3.10/site-packages/torchvision-0.21.0+metax3.1.0.4.dist-info# Install mineru latest-RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \- python3 -m pip install 'mineru[core]>=2.6.5' \- numpy==1.26.4 \- opencv-python==4.11.0.86 \- -i https://mirrors.aliyun.com/pypi/simple && \- python3 -m pip cache purge+RUN /opt/conda/bin/python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \+ /opt/conda/bin/python3 -m pip install 'mineru[core]>=2.6.5' \+ numpy==1.26.4 \+ opencv-python==4.11.0.86 \+ -i https://mirrors.aliyun.com/pypi/simple && \+ /opt/conda/bin/python3 -m pip cache purge# Download models and update the configuration file-RUN /bin/bash -c "mineru-models-download -s modelscope -m all"+RUN /bin/bash -c "/opt/conda/bin/mineru-models-download -s modelscope -m all"# Set the entry point to activate the virtual environment and run the command line toolENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]\ No newline at end of file