-
-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rapidocr_api): 补充依赖,指定版本号 (#305)
* 补充依赖,指定版本号 补充依赖并指定版本1.3.25 rapidocr-onnxruntime 当前版(1.4.3)某些情况下会漏字 * Update README.md * Update README.md
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
### See [Documentation](https://rapidai.github.io/RapidOCRDocs/install_usage/rapidocr_api/usage/) | ||
|
||
build时使用宿主的网络 | ||
``` | ||
docker build -t rapidocr_api:0.1.4 --network host . | ||
``` | ||
|
||
使用宿主上的代理 | ||
``` | ||
docker build -t rapidocr_api:0.1.4 --network host --build-arg HTTP_PROXY=http://127.0.0.1:8888 --build-arg HTTPS_PROXY=http://127.0.0.1:8888 . | ||
``` | ||
|
||
调试运行: | ||
``` | ||
docker run --rm -p 9003:9003 --name rapidocr_api rapidocr_api:0.1.4 | ||
``` | ||
|
||
运行: | ||
``` | ||
docker run -d -p 9003:9003 --name rapidocr_api rapidocr_api:0.1.4 | ||
``` |