This commit is contained in:
Your Name
2025-04-21 14:54:33 +12:00
parent 0a2036cbd7
commit 50bd2e2446
13 changed files with 288 additions and 115 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash
# Source common functions
source "$(dirname "$0")/_dockerhelper.sh"
source "$(dirname "$0")/_common.sh"
# Load environment variables
@ -14,7 +15,7 @@ fi
echo "Successfully pulled the docker image from the registry"
# stop the old container
stop_container
_stop_container ${CONTAINER_NAME}
# remove the old container
grey_start
@ -26,5 +27,6 @@ grey_end
echo "Successfully removed the old container"
# start the new container
start_container
create_and_start_container || die "Failed to start container ${CONTAINER_NAME}"