Skip to content

Commit

Permalink
修改README
Browse files Browse the repository at this point in the history
  • Loading branch information
alisen39 committed Jul 23, 2020
1 parent b0755ac commit 4908d37
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,21 @@ server is running: 0.0.0.0:8089
```

### Docker部署
1.Dockerfile 构建或者直接 `Pull`镜像
使用 Dockerfile 构建 或者直接 Pull镜像
```shell script
# dockerfile 构建
docker build -t trwebocr:latest .

# 运行镜像
docker run -itd --rm -p 8089:8089 --name trwebocr trwebocr:latest
```

```shell script
# 从 dockerhub pull
docker pull mmmz/trwebocr:latest

# 运行镜像
docker run -itd --rm -p 8089:8089 --name trwebocr mmmz/trwebocr:latest
```

2. Docker run
Expand Down Expand Up @@ -118,7 +124,9 @@ res = requests.post(url=url, data={'img': img_b64})
![验证码识别](https://images.alisen39.com/20200501173211.png)

## 更新记录

* 2020年07月23日
修改README

* 2020年06月14日
优化Dockerfile,解决Build失败报错
Dockerfile需要下载的部分使用国内源,提高build速度
Expand Down
5 changes: 4 additions & 1 deletion updateHistory.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## 更新记录
## 更新记录
* 2020年07月23日
修改README

* 2020年06月14日
优化Dockerfile,解决Build失败报错
Dockerfile需要下载的部分使用国内源,提高build速度
Expand Down

0 comments on commit 4908d37

Please sign in to comment.