From fafa0c646e9ab80ea87e3aa13a763d45a0db474b Mon Sep 17 00:00:00 2001 From: Brady-Malott <55215446+Brady-Malott@users.noreply.github.com> Date: Sun, 26 Feb 2023 17:32:08 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d570056..75429b3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,8 +11,6 @@ pipeline { steps { // Stop running microblog container sh 'docker stop $(docker ps -q --filter ancestor=microblog:latest) || true && docker rm $(docker ps -q --filter ancestor=microblog:latest) || true' - // Prune old containers that are not running - sh 'docker container prune -f' // Deploy new container sh 'docker run --name microblog -d -p 5000:5000 --rm microblog:latest' // Remove all images that don't have a container running them