perf:修改容器重启策略
All checks were successful
oasis/resume/pipeline/head This commit looks good

This commit is contained in:
2026-03-10 05:53:37 +00:00
parent 0dda9aa020
commit 4c6601c048

2
Jenkinsfile vendored
View File

@@ -113,7 +113,7 @@ spec:
echo "starting the docker image ..."
sh """
docker stop resume && docker rm resume
docker run -itd -p 8080:80 --name resume $CONTAINER_NAME
docker run -itd -p 8080:80 --name resume --restart always $CONTAINER_NAME
"""
echo "starting the docker image complete."
}