docker: use environment args to set parameters

This commit is contained in:
lanvent
2023-03-26 03:31:29 +08:00
parent e226c93eeb
commit 46a6223a43
5 changed files with 23 additions and 63 deletions

View File

@@ -4,5 +4,5 @@
tar -zcf chatgpt-on-wechat.tar.gz --exclude=../../chatgpt-on-wechat/docker ../../chatgpt-on-wechat
# build image
docker build -f Dockerfile.alpine \
docker build -f Dockerfile.latest \
-t zhayujie/chatgpt-on-wechat .