Skip to content

Commit 2cf3f01

Browse files
committed
2 parents 883ec6f + 6caefc8 commit 2cf3f01

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ postgres/
4141
nohup.out
4242

4343
dump.rdb
44+
.env
4445

4546
# For when people run yarn in the wrong directory level :-) Got your back homies
4647
node_modules/

rebuild.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
conatainername=$1
2-
docker-compose build --no-cache $conatainername $conatainername
3-
docker-compose up --build --force-recreate --no-deps -d $conatainername
1+
containername=$1
2+
docker stop $containername
3+
docker rm $containername
4+
docker-compose build --no-cache $containername $containername
5+
docker-compose up --build --force-recreate --no-deps -d $containername

0 commit comments

Comments
 (0)