Merge pull request #1803 from cincodenada/run-rm-update

Use run --rm in `update` command
This commit is contained in:
Mouse Reeve 2022-01-13 08:49:45 -08:00 committed by GitHub
commit c102106dc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

8
bw-dev
View file

@ -80,10 +80,10 @@ case "$CMD" in
;; ;;
update) update)
git pull git pull
docker-compose build --no-cache docker-compose build
docker-compose exec web python manage.py migrate runweb python manage.py migrate
docker-compose exec web python manage.py collectstatic --no-input runweb python manage.py collectstatic --no-input
docker-compose restart docker-compose up -d
;; ;;
populate_streams) populate_streams)
runweb python manage.py populate_streams "$@" runweb python manage.py populate_streams "$@"