From 849ff6149340a71559df6cb9ae2e01d5c2d3d96e Mon Sep 17 00:00:00 2001 From: Michael <20937441+KMikeeU@users.noreply.github.com> Date: Mon, 23 Sep 2024 22:24:46 +0200 Subject: [PATCH] Add makefile prune --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index fde6120..20c5cc8 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,10 @@ deploy: rsync -r --exclude='/.git' --filter=':- .gitignore' * services@master-bot:master-bot +.PHONY: prune +prune: + ssh services@master-bot "docker image prune -f" + .PHONY: up up: ssh services@master-bot "cd master-bot && docker-compose up -d --build"