Skip to content

Commit

Permalink
Update Docker container startup command
Browse files Browse the repository at this point in the history
  • Loading branch information
Penggeor committed Mar 1, 2024
1 parent e0d4339 commit d00db29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
# 加载新的Docker镜像
docker load -i $DOCKER_IMAGE_PATH/docusaurus-image.tar
# 启动新容器
docker run -d -p 4000:3000 --name docusaurus-container docusaurus-image
# 启动新容器,设置自启动
docker run -d -p 4000:3000 --name docusaurus-container docusaurus-image --restart=always
# 清理悬挂的镜像层
docker image prune -f
Expand Down

0 comments on commit d00db29

Please sign in to comment.