Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
FlacoJones committed Apr 6, 2023
2 parents 883ec6f + 6caefc8 commit 2cf3f01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ postgres/
nohup.out

dump.rdb
.env

# For when people run yarn in the wrong directory level :-) Got your back homies
node_modules/
Expand Down
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 2cf3f01

Please sign in to comment.