From c76f0cebcf2851cd327395544da588537ac632aa Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 24 Sep 2020 11:13:50 +0200 Subject: [PATCH] add volume removal --- scripts/portal-upgrade.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/portal-upgrade.sh b/scripts/portal-upgrade.sh index bc81e80a..f63335bc 100755 --- a/scripts/portal-upgrade.sh +++ b/scripts/portal-upgrade.sh @@ -16,6 +16,10 @@ docker-compose down # building them again docker system prune --force +# prune all volumes to make sure there is no leftovers +# important for webapp container, otherwise html files will not be updated) +docker volume rm $(docker volume ls -q) + # build all container without cache docker-compose build --no-cache