1 Commits

Author SHA1 Message Date
clay
31e0349443 更新 docker.sh 2024-09-16 12:50:05 +00:00

View File

@@ -12,5 +12,5 @@ docker rmi smartopsweb:latest
echo '----build image start----'
docker build -t smartopsweb:latest .
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