1.Docker支持部署最新版本; 2.优化构建速度,无须再次下载包;

This commit is contained in:
Look_World
2023-03-23 16:27:36 +08:00
parent d5611b185b
commit ea5f7173bd
2 changed files with 43 additions and 0 deletions

8
docker/build.latest.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# move chatgpt-on-wechat
tar -zcf chatgpt-on-wechat.tar.gz --exclude=../../chatgpt-on-wechat/docker ../../chatgpt-on-wechat
# build image
docker build -f Dockerfile.alpine \
-t zhayujie/chatgpt-on-wechat .