From 097a18f362842c7c8362709bbd513cce89a739bc Mon Sep 17 00:00:00 2001 From: Chad Freeman Date: Sun, 13 Oct 2024 17:43:12 -0400 Subject: [PATCH] fix cmd tools --- container/run.sh | 4 ++-- container/update.sh | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/container/run.sh b/container/run.sh index 492a328..73dfd30 100755 --- a/container/run.sh +++ b/container/run.sh @@ -1,6 +1,6 @@ #!/bin/bash -docker-compose down +docker compose down rm -rf ./run docker image remove bluffit-app -docker-compose up \ No newline at end of file +docker compose up \ No newline at end of file diff --git a/container/update.sh b/container/update.sh index a5913f5..45c5ee0 100755 --- a/container/update.sh +++ b/container/update.sh @@ -2,11 +2,12 @@ DIR="$(cd "$(dirname "$0")" && pwd)" -docker-compose down +docker compose down docker image remove bluffit-app cd .. rm -rf "$DIR" & -curl -0 "https://github.com/mavdotjs/bluffit/releases/latest/download/container.zip" +curl -LO "https://github.com/mavdotjs/bluffit/releases/latest/download/container.zip" unzip ./container.zip +rm container.zip cd container \ No newline at end of file