Skip to content

Commit e485a9d

Browse files
authored
Update README.md
1 parent 70fb686 commit e485a9d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,9 @@ $ ahpc.exe -c client.json
156156

157157
## 使用Docker
158158
```shell
159-
# 使用拉取到本地的源码进行构建
160-
docker build . -t lxrite/azure-http-proxy
161-
# 或者使用URL自动拉取源码构建
162-
docker build -t lxrite/azure-http-proxy https://github.com/lxrite/azure-http-proxy.git
159+
# 拉取镜像
160+
docker pull ghcr.io/lxrite/azure-http-proxy:latest
163161

164162
# 启动 ahps
165-
docker run -d -p 8090:8090 --mount type=bind,source=$PWD/server.json,target=/data/ahp/server.json lxrite/azure-http-proxy ahps -c /data/ahp/server.json
163+
docker run -d -p 8090:8090 -v $PWD/server.json:/data/ahp/server.json ghcr.io/lxrite/azure-http-proxy ahps -c /data/ahp/server.json
166164
```

0 commit comments

Comments
 (0)