docs: update build script

This commit is contained in:
RockYang
2023-11-27 18:24:52 +08:00
parent 241c714a8b
commit a7db123437
2 changed files with 6 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ make clean linux
cd ../web
npm run build
cd ../docker
cd ../build
# remove docker image if exists
docker rmi -f registry.cn-shenzhen.aliyuncs.com/geekmaster/chatgpt-plus-api:$version
@@ -23,4 +23,4 @@ docker build --platform linux/amd64 -t registry.cn-shenzhen.aliyuncs.com/geekmas
if [ "$2" = "push" ];then
docker push registry.cn-shenzhen.aliyuncs.com/geekmaster/chatgpt-plus-api:$version
docker push registry.cn-shenzhen.aliyuncs.com/geekmaster/chatgpt-plus-web:$version
fi
fi