refactor(docker): 更新.gitignore和Dockerfile,添加slanet_plus模型相关配置
This commit is contained in:
parent
84603765cb
commit
8fca457901
|
@ -52,4 +52,5 @@ management/models--opendatalab--PDF-Extract-Kit-1.0
|
|||
management/models--hantian--layoutreader
|
||||
docker/models
|
||||
management/web/types/auto
|
||||
node_modules/.cache/logger/umi.log
|
||||
web/node_modules/.cache/logger/umi.log
|
||||
management/models--slanet_plus
|
||||
|
|
|
@ -44,6 +44,7 @@ COPY server /app
|
|||
RUN mkdir -p /root/.cache/huggingface/hub/
|
||||
COPY models--opendatalab--PDF-Extract-Kit-1.0 /root/.cache/huggingface/hub/models--opendatalab--PDF-Extract-Kit-1.0
|
||||
COPY models--hantian--layoutreader /root/.cache/huggingface/hub/models--hantian--layoutreader
|
||||
COPY models--slanet_plus/slanet-plus.onnx /usr/local/lib/python3.10/site-packages/rapid_table/models/
|
||||
# COPY magic-pdf.json /root/magic-pdf.json
|
||||
|
||||
# 暴露后端端口
|
||||
|
|
Loading…
Reference in New Issue