From 553e13c057328582268cf102ad256eca9417fdb5 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Tue, 13 Feb 2024 01:13:26 +1100 Subject: [PATCH] Update bash script to efficiently update container --- startDocker.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/startDocker.sh b/startDocker.sh index 5f07505..d09ebfd 100755 --- a/startDocker.sh +++ b/startDocker.sh @@ -1,6 +1,7 @@ #!/bin/bash +docker compose -f docker-compose.bot.yml down && \ docker compose -f docker-compose.bot.yml build && \ -docker compose -f docker-compose.bot.yml up -d +docker compose -f docker-compose.bot.yml up -d --remove-orphans exit 0