更新 docker.sh
This commit is contained in:
@@ -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 -d -p 8080:80 smartopsweb:latest
|
docker run --name smartopsweb --restart=always -d -p 8080:80 smartopsweb:latest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user