From 151086120cf71d7544c84f8a07c28ce3733e7d69 Mon Sep 17 00:00:00 2001 From: "guorong.zheng" <360996299@qq.com> Date: Tue, 9 Jul 2024 17:58:16 +0800 Subject: [PATCH 1/2] Update --- docs/tutorial.md | 13 ++++++++++++- docs/tutorial_en.md | 15 +++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index 3b82ac0206..99c5588bb1 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -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)查看更新结果 ``` diff --git a/docs/tutorial_en.md b/docs/tutorial_en.md index ff2037f8cb..f33451da27 100644 --- a/docs/tutorial_en.md +++ b/docs/tutorial_en.md @@ -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 From 5544ab69f42a4c24310a4d730a3ec1974b29901f Mon Sep 17 00:00:00 2001 From: "guorong.zheng" <360996299@qq.com> Date: Tue, 9 Jul 2024 17:59:49 +0800 Subject: [PATCH 2/2] chore --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ae3c4a3670..e86233fb47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN pipenv install RUN sed -i 's@deb.debian.org@mirrors.aliyun.com@g' /etc/apt/sources.list \ && sed -i 's@security.debian.org@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