PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

docker build fail

Open sai129198 opened this issue 2 months ago • 1 comments

🔎 Search before asking

  • [x] I have searched the PaddleOCR Docs and found no similar bug report.
  • [x] I have searched the PaddleOCR Issues and found no similar bug report.
  • [x] I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

https://github.com/PaddlePaddle/PaddleOCR/blob/main/deploy/docker/hubserving/README.md

Dockerfile:25

23 |
24 | # Download orc recognition model(light version). If you want to change normal version, you can change ch_ppocr_mobile_v2.0_rec_infer to ch_ppocr_server_v2.0_rec_infer, also remember change rec_model_dir in deploy/hubserving/ocr_system/params.py) 25 | >>> ADD {link} /PaddleOCR/inference/ 26 | RUN tar xf /PaddleOCR/inference/{file}.tar -C /PaddleOCR/inference/ 27 |

ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref moby::4d4jpp9xrx4ccde395omklm7x: "/{link}": not found

🏃‍♂️ Environment (运行环境)

OS Linux

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

cd deploy/docker/hubserving/cpu
docker build -t paddleocr:cpu .

sai129198 avatar Oct 28 '25 09:10 sai129198

Thank you for your feedback. For PaddleOCR versions 3.0 and above, we recommend referring to the new documentation: https://github.com/PaddlePaddle/PaddleOCR/blob/main/docs/version3.x/deployment/serving.en.md. Please confirm your version and follow the new documentation.

changdazhou avatar Oct 29 '25 02:10 changdazhou

The issue has no response for a long time and will be closed. You can reopen or new another issue if are still confused.


From Bot

TingquanGao avatar Nov 29 '25 03:11 TingquanGao