#### tg群的大佬自己写dockerfile和自动发布的镜像
1. [dockerfile仓库](https://github.com/esme518/docker-drpy)
2. [自动发布的三架构镜像](https://hub.docker.com/r/esme518/docker-drpy/tags)
3. 简单测试启动命令:
```shell
docker run --platform linux/arm/v7 -p 5705:5705 -p 9001:9001 --restart=always --name drpy -d esme518/docker-drpy
```
4.暴力更新命令:
```shell
mv base/rules.db /tmp
 ls -A1 | xargs rm -rf
 git clone -q https://gitcode.net/qq_32394351/dr_py.git .
 mv -f /tmp/rules.db base/rules.db
 echo "App Updated"
```
5.docker启动环境变量:
```shell
ENV INET_USERNAME=user
ENV INET_PASSWORD=123
```
6.重启容器自动更新运行方法:
```shell
docker run -d \
  --name drpy \
  --restart=always \
  -p 5705:5705 \
  -p 9001:9001 \
  -e INET_USERNAME=user \
  -e INET_PASSWORD=123 \
  -e AUTOUPDATE=1 \
  -v /home/pywork/dr_py:/root/sd/pywork/dr_py \
  esme518/docker-drpy
```
7.不自动更新:
```shell
docker run -d \
  --name drpy \
  --restart=always \
  -p 5705:5705 \
  -p 9001:9001 \
  -e INET_USERNAME=user \
  -e INET_PASSWORD=123 \
  -v /home/pywork/dr_py:/root/sd/pywork/dr_py \
  esme518/docker-drpy
```