浏览代码

modif docker

jeremy 4 月之前
父节点
当前提交
5f9a3e3e52
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      LaunchToProd.sh

+ 2 - 2
LaunchToProd.sh

@@ -2,5 +2,5 @@ docker image tag testapp-frontend:latest 192.168.60.10:5005/gestionloyer_front:1
 docker image tag testapp-backend:latest 192.168.60.10:5005/gestionloyer_back:1
 docker image push 192.168.60.10:5005/gestionloyer_back:1
 docker image push 192.168.60.10:5005/gestionloyer_front:1
-docker service update prod-gestionlocative_gestionlocatibe-back --force-recreate
-docker service update prod-gestionlocative_gestionlocatibe-front --force-recreate
+docker service update --image 192.168.60.10:5005/gestionloyer_back:1 --force prod-gestionlocative_gestionlocatibe-back
+docker service update --image 192.168.60.10:5005/gestionloyer_front:1 --force prod-gestionlocative_gestionlocatibe-front