File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ RUN apt-get update && \
2121WORKDIR /app
2222
2323# 安装 Python 依赖
24- RUN python3 -m pip install 'rapid-doc[cpu]==0.4 .0' -i https://pypi.org/simple --break-system-packages && \
25- python3 -m pip install 'rapid-doc[api]==0.4 .0' -i https://pypi.org/simple --break-system-packages && \
24+ RUN python3 -m pip install 'rapid-doc[cpu]==0.5 .0' -i https://pypi.org/simple --break-system-packages && \
25+ python3 -m pip install 'rapid-doc[api]==0.5 .0' -i https://pypi.org/simple --break-system-packages && \
2626 python3 -m pip cache purge
2727
2828# 复制配置文件和脚本(优先复制,利用Docker缓存)
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ WORKDIR /app
2929
3030# 安装 Python 依赖
3131RUN python3 -m pip install --upgrade pip setuptools wheel && \
32- python3 -m pip install 'rapid-doc[gpu]==0.4 .0' 'rapid-doc[api]==0.4 .0' -i https://pypi.org/simple && \
32+ python3 -m pip install 'rapid-doc[gpu]==0.5 .0' 'rapid-doc[api]==0.5 .0' -i https://pypi.org/simple && \
3333 python3 -m pip install 'onnxruntime-gpu==1.23.0' -i https://pypi.org/simple && \
3434 python3 -m pip cache purge
3535
Original file line number Diff line number Diff line change 1212cd docker
1313
1414# 1. CPU 模式
15- docker build -f Dockerfile -t hzkitty/rapid-doc:0.4 .0 .
15+ docker build -f Dockerfile -t hzkitty/rapid-doc:0.5 .0 .
1616
1717# 2. GPU 模式
18- docker build -f DockerfileGPU -t hzkitty/rapid-doc:0.4 .0-gpu .
18+ docker build -f DockerfileGPU -t hzkitty/rapid-doc:0.5 .0-gpu .
1919```
2020
2121
Original file line number Diff line number Diff line change 11services :
22 rapid-doc-server :
33 container_name : rapid-doc-server
4- image : hzkitty/rapid-doc:0.4 .0-gpu
4+ image : hzkitty/rapid-doc:0.5 .0-gpu
55 deploy :
66 resources :
77 reservations :
Original file line number Diff line number Diff line change 11services :
22 rapid-doc-server :
33 container_name : rapid-doc-server
4- image : hzkitty/rapid-doc:0.4 .0
4+ image : hzkitty/rapid-doc:0.5 .0
55 ports :
66 - " 8888:8888"
77 environment :
Original file line number Diff line number Diff line change 1- __version__ = "0.4 .0"
1+ __version__ = "0.5 .0"
22__mineru_version__ = "2.6.4"
You can’t perform that action at this time.
0 commit comments