1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2020-11-19 17:47:51 +10:00
parent f3c647909e
commit f33cf2b967
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,10 @@ post_update() {
docker-compose run --rm app python manage.py post_update docker-compose run --rm app python manage.py post_update
} }
docker_cleanup() {
docker rmi $(docker images -f "dangling=true" -q)
}
update() { update() {
pull_images pull_images
backup_database backup_database
@ -37,6 +41,8 @@ update() {
docker-compose up -d docker-compose up -d
post_update post_update
docker_cleanup
} }
fast_update() { fast_update() {