From 24ccbe60d6d84778363debd1f5649a28d6d5cd2c Mon Sep 17 00:00:00 2001 From: Divya Patel <113757574+Divya4242@users.noreply.github.com> Date: Wed, 15 May 2024 14:49:41 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4025202..5102184 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -76,7 +76,7 @@ pipeline { sudo mv build/ /var/www/ cd docker rmi -f divyapatel42/ecommerce-webapp:backendjenkins || true - docker rm -f \$(docker ps -q --filter "publish=5000/tcp") + docker rm -f \$(docker ps -q --filter "publish=8000/tcp") docker run -d -p 8000:8000 divyapatel42/ecommerce-webapp:backendjenkins """ // SSH into EC2 instance and pull Docker image