commit
249980fbd6
@ -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
|
||||
|
||||
|
@ -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)查看更新结果
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user