Merge pull request '更新 docker.sh' (#151) from zhangkaihuai-patch-2 into test

Reviewed-on: http://git.feashow.cn/feashow/SmartOpsWeb/pulls/151
This commit is contained in:
zhangkaihuai
2024-10-22 11:37:33 +00:00

View File

@@ -12,5 +12,5 @@ docker rmi smartopsweb:latest
echo '----build image start----' echo '----build image start----'
docker build -t smartopsweb:latest . docker build -t smartopsweb:latest .
echo '----build image success----' echo '----build image success----'
docker run --name smartopsweb --link smartopsserver --restart=always -d -p 20002:80 smartopsweb:latest docker run --name smartopsweb --link smartopsserver --restart=always -d -p 28081:80 smartopsweb:latest