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