Skip to content

Commit

Permalink
Merge pull request #196 from Guovin/master
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
Guovin authored Jul 9, 2024
2 parents 6255d94 + 2404ab9 commit 249980f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN pipenv install
RUN sed -i '[email protected]@mirrors.aliyun.com@g' /etc/apt/sources.list \
&& sed -i '[email protected]@mirrors.aliyun.com@g' /etc/apt/sources.list

RUN apt-get update && apt get install -y cron
RUN apt-get update && apt-get install -y cron

ARG INSTALL_CHROMIUM=false

Expand Down
13 changes: 12 additions & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,20 @@ pipenv run ui

### 方式三:Docker 更新

- requests:轻量级,性能要求低,更新速度快,成功率较低
- driver:占用大,性能要求较高,更新速度慢,稳定性、成功率高

```bash
1. 拉取镜像:docker pull guovern/tv:latest
1. 拉取镜像:

requests版本:
docker pull guovern/tv-requests:latest

driver版本:
docker pull guovern/tv-driver:latest

2. 运行容器:docker run -d -p 8000:8000 tv

3. 访问(域名:8000)查看更新结果
```

Expand Down
15 changes: 13 additions & 2 deletions docs/tutorial_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,21 @@ pipenv run ui

### Method 3: Docker Update

- requests: lightweight, low performance requirements, fast update speed, lower success rate
- driver: large footprint, higher performance requirements, slow update speed, high stability and success rate

```bash
1. Pull the image: docker pull guovern/tv:latest
1. Pull the image:

requests version:
docker pull guovern/tv-requests:latest

driver version:
docker pull guovern/tv-driver:latest

2. Run the container: docker run -d -p 8000:8000 tv
3. Access (domain:8000) to view the update results

3. Access (domain:8000) to check the update results
```

#### Note: Link to the result file after updates of methods one to three: http://local ip:8000
Expand Down

0 comments on commit 249980f

Please sign in to comment.