Update README.md

新增环境安装好的docker命令
This commit is contained in:
zhao-zg 2024-11-27 09:58:20 +08:00 committed by GitHub
parent 54c3798538
commit 896ed6f255
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,6 +28,26 @@ services:
&& python api.py"
networks: {}
```
下面是已经安装好环境的dokcer省去安装环境
```
version: "3"
services:
jd_autologin:
image: zzg1189/jd_login_env:latest
container_name: jd_login_env
restart: unless-stopped
ports:
- 12345:12345
working_dir: /app
environment:
TZ: Asia/Shanghai
command: >
sh -c "rm -rf && wget -O api.py
https://raw.githubusercontent.com/zhao-zg/jd-login/main/api.py && wget -O
login.py https://raw.githubusercontent.com/zhao-zg/jd-login/main/login.py
&& python api.py"
networks: {}
```
# 感谢作者小九九