Skip to content

Commit

Permalink
updated rebuild script and added env to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Stevers committed Mar 31, 2023
1 parent 3745c94 commit 6caefc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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
4 changes: 2 additions & 2 deletions rebuild.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
containername=$1
docker stop containername
docker rm containername
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 6caefc8

Please sign in to comment.