diff --git a/Dockerfile b/Dockerfile index 9f1974c..ab8a200 100644 --- a/Dockerfile +++ b/Dockerfile @@ -109,9 +109,6 @@ RUN apt-get update && \ libxfixes3 \ xdg-utils \ chromium \ - xvfb \ - x11vnc \ - fluxbox \ # OpenCV运行时依赖 libgl1 \ libglib2.0-0 \ diff --git a/README.md b/README.md index dfcb892..cbb02fa 100644 --- a/README.md +++ b/README.md @@ -1337,6 +1337,25 @@ docker run -d -p 8080:8080 --restart always \ -v $PWD/xianyu-auto-reply/:/app/data/ \ --name xianyu-auto-reply \ zhinianblog/xianyu-auto-reply:latest + + +docker buildx build \ + --platform linux/amd64,linux/arm64 \ + -t your-username/xianyu-auto-reply:latest \ + -t your-username/xianyu-auto-reply:2.2.0 \ + --push \ + . + +docker buildx build \ + --platform linux/amd64,linux/arm64 \ + -t wangli648438/xianyu-auto-reply:latest \ + --push \ + . + +docker run -d -p 8083:8080 --restart always \ + -v /opt/1panel/apps/xianyu-auto-reply/:/app/data/ \ + --name xianyu-auto-reply \ + wangli648438/xianyu-auto-reply:latest ``` **验证多架构镜像**: