Unverified Commit 315ddbd3 authored by Xiaomeng Zhao's avatar Xiaomeng Zhao Committed by GitHub
Browse files

Merge pull request #1493 from opendatalab/dev

Dev
parents 46385135 e0fbef2a
...@@ -10,7 +10,7 @@ ENV DEBIAN_FRONTEND=noninteractive ...@@ -10,7 +10,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y \ apt-get install -y \
software-properties-common && \ software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa && \ add-apt-repository -y ppa:deadsnakes/ppa && \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
python3.10 \ python3.10 \
...@@ -42,7 +42,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \ ...@@ -42,7 +42,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
RUN /bin/bash -c "wget https://gitee.com/myhloli/MinerU/raw/master/magic-pdf.template.json && \ RUN /bin/bash -c "wget https://gitee.com/myhloli/MinerU/raw/master/magic-pdf.template.json && \
cp magic-pdf.template.json /root/magic-pdf.json && \ cp magic-pdf.template.json /root/magic-pdf.json && \
source /opt/mineru_venv/bin/activate && \ source /opt/mineru_venv/bin/activate && \
pip3 install -U magic-pdf" pip3 install -U magic-pdf -i https://mirrors.aliyun.com/pypi/simple"
# Download models and update the configuration file # Download models and update the configuration file
RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
......
...@@ -38,7 +38,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \ ...@@ -38,7 +38,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
RUN /bin/bash -c "wget https://gitee.com/myhloli/MinerU/raw/master/magic-pdf.template.json && \ RUN /bin/bash -c "wget https://gitee.com/myhloli/MinerU/raw/master/magic-pdf.template.json && \
cp magic-pdf.template.json /root/magic-pdf.json && \ cp magic-pdf.template.json /root/magic-pdf.json && \
source /opt/mineru_venv/bin/activate && \ source /opt/mineru_venv/bin/activate && \
pip3 install -U magic-pdf" pip3 install -U magic-pdf -i https://mirrors.aliyun.com/pypi/simple"
# Download models and update the configuration file # Download models and update the configuration file
RUN /bin/bash -c "pip3 install modelscope && \ RUN /bin/bash -c "pip3 install modelscope && \
......
__version__ = "0.10.6" __version__ = "1.0.0"
...@@ -127,6 +127,14 @@ ...@@ -127,6 +127,14 @@
"created_at": "2025-01-05T17:57:17Z", "created_at": "2025-01-05T17:57:17Z",
"repoId": 765083837, "repoId": 765083837,
"pullRequestNo": 1412 "pullRequestNo": 1412
},
{
"name": "beholder91",
"id": 113708464,
"comment_id": 2581919559,
"created_at": "2025-01-10T06:58:05Z",
"repoId": 765083837,
"pullRequestNo": 1479
} }
] ]
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment