Skip to content

Commit

Permalink
updated rebuild script
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Stevers committed Mar 31, 2023
1 parent 7648675 commit b269922
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rebuild.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
conatainername=$1
docker-compose build --no-cache $conatainername $conatainername
docker-compose up --build --force-recreate --no-deps -d $conatainername
containername=$1
docker stop containername
docker rm containername
docker-compose build --no-cache $containername $containername
docker-compose up --build --force-recreate --no-deps -d $containername

0 comments on commit b269922

Please sign in to comment.