Skip to content

Commit

Permalink
新增dockerhub安装方式
Browse files Browse the repository at this point in the history
  • Loading branch information
yxdyc committed Oct 11, 2023
1 parent 1bfd8c0 commit def7d6f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,18 @@ pip install py-data-juicer

### Using Docker

- Run the following command to build the docker image including the latest `data-juicer` with provided [Dockerfile](Dockerfile):

```shell
docker build -t data-juicer:<version_tag> .
```
- You can
- either pull our pre-built image from DockerHub:
```shell
docker pull datajuicer/data-juicer:<version_tag>
```

- or run the following command to build the docker image including the
latest `data-juicer` with provided [Dockerfile](Dockerfile):

```shell
docker build -t data-juicer:<version_tag> .
```

### Installation check

Expand Down
15 changes: 10 additions & 5 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,16 @@ pip install py-data-juicer

### 使用 Docker 安装

- 运行如下命令用我们提供的 [Dockerfile](Dockerfile) 来构建包括最新版本的 `data-juicer` 的 docker 镜像:

```shell
docker build -t data-juicer:<version_tag> .
```
- 您可以选择
- 从DockerHub直接拉取我们的预置镜像:
```shell
docker pull datajuicer/data-juicer:<version_tag>
```
- 或者运行如下命令用我们提供的 [Dockerfile](Dockerfile) 来构建包括最新版本的 `data-juicer` 的 docker 镜像:

```shell
docker build -t data-juicer:<version_tag> .
```

### 安装校验

Expand Down

0 comments on commit def7d6f

Please sign in to comment.