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
refactor(docker): remove unused packages and simplify Dockerfile commands
myhloliddaa7158897a
diff --git a/docker/ascend_npu/Dockerfile b/docker/ascend_npu/Dockerfileindex 439161c6..e20aeb0f 100644--- a/docker/ascend_npu/Dockerfile+++ b/docker/ascend_npu/Dockerfile@@ -34,10 +34,9 @@ RUN python3 -m venv /opt/mineru_venvRUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \pip3 install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple && \wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/ascend_npu/requirements.txt -O requirements.txt && \- pip3 install -r requirements.txt --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple && \+ pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple && \wget https://gitee.com/ascend/pytorch/releases/download/v6.0.rc2-pytorch2.3.1/torch_npu-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl && \- pip3 install torch_npu-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl && \- pip3 install https://gcore.jsdelivr.net/gh/myhloli/wheels@main/assets/whl/paddle-custom-npu/paddle_custom_npu-0.0.0-cp310-cp310-linux_aarch64.whl"+ pip3 install torch_npu-2.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"# Copy the configuration file template and install magic-pdf latestRUN /bin/bash -c "wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/magic-pdf.template.json && \diff --git a/docker/ascend_npu/requirements.txt b/docker/ascend_npu/requirements.txtindex 022d42a3..676c0f9a 100644--- a/docker/ascend_npu/requirements.txt+++ b/docker/ascend_npu/requirements.txt@@ -11,10 +11,6 @@ torch==2.3.1torchvision==0.18.1matplotlibultralytics>=8.3.48-paddleocr==2.7.3-paddlepaddle==3.0.0rc1-rapidocr-paddle>=1.4.5,<2.0.0-rapidocr-onnxruntime>=1.4.4,<2.0.0rapid-table>=1.0.3,<2.0.0doclayout-yolo==0.0.2b1ftfydiff --git a/docker/china/Dockerfile b/docker/china/Dockerfileindex 47310c2f..ffae13be 100644--- a/docker/china/Dockerfile+++ b/docker/china/Dockerfile@@ -31,8 +31,7 @@ RUN python3 -m venv /opt/mineru_venvRUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \pip3 install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple && \wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/china/requirements.txt -O requirements.txt && \- pip3 install -r requirements.txt --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple && \- pip3 install paddlepaddle-gpu==3.0.0rc1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"+ pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple"# Copy the configuration file template and install magic-pdf latestRUN /bin/bash -c "wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/magic-pdf.template.json && \diff --git a/docker/china/requirements.txt b/docker/china/requirements.txtindex 4ac2a0be..6d4ba399 100644--- a/docker/china/requirements.txt+++ b/docker/china/requirements.txt@@ -11,9 +11,6 @@ torch>=2.2.2,!=2.5.0,!=2.5.1,<=2.6.0torchvisionmatplotlibultralytics>=8.3.48-paddleocr==2.7.3-rapidocr-paddle>=1.4.5,<2.0.0-rapidocr-onnxruntime>=1.4.4,<2.0.0rapid-table>=1.0.3,<2.0.0doclayout-yolo==0.0.2b1ftfydiff --git a/docker/global/Dockerfile b/docker/global/Dockerfileindex a41fa54e..e05edb01 100644--- a/docker/global/Dockerfile+++ b/docker/global/Dockerfile@@ -31,8 +31,7 @@ RUN python3 -m venv /opt/mineru_venvRUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \pip3 install --upgrade pip && \wget https://github.com/opendatalab/MinerU/raw/master/docker/global/requirements.txt -O requirements.txt && \- pip3 install -r requirements.txt --extra-index-url https://wheels.myhloli.com && \- pip3 install paddlepaddle-gpu==3.0.0rc1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"+ pip3 install -r requirements.txt"# Copy the configuration file template and install magic-pdf latestRUN /bin/bash -c "wget https://github.com/opendatalab/MinerU/raw/master/magic-pdf.template.json && \diff --git a/docker/global/requirements.txt b/docker/global/requirements.txtindex 4ac2a0be..6d4ba399 100644--- a/docker/global/requirements.txt+++ b/docker/global/requirements.txt@@ -11,9 +11,6 @@ torch>=2.2.2,!=2.5.0,!=2.5.1,<=2.6.0torchvisionmatplotlibultralytics>=8.3.48-paddleocr==2.7.3-rapidocr-paddle>=1.4.5,<2.0.0-rapidocr-onnxruntime>=1.4.4,<2.0.0rapid-table>=1.0.3,<2.0.0doclayout-yolo==0.0.2b1ftfy