forked from mirrors/bookwyrm
Merge pull request #1803 from cincodenada/run-rm-update
Use run --rm in `update` command
This commit is contained in:
commit
c102106dc2
1 changed files with 4 additions and 4 deletions
8
bw-dev
8
bw-dev
|
@ -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 "$@"
|
||||||
|
|
Loading…
Reference in a new issue