add volume removal

This commit is contained in:
Karol Wypchlo 2020-09-24 11:13:50 +02:00
parent 279e051207
commit c76f0cebcf
1 changed files with 4 additions and 0 deletions

View File

@ -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