Merge pull request #1804 from cincodenada/run-not-exec

Use run --rm instead of exec for initdb
This commit is contained in:
Mouse Reeve
2022-02-02 09:10:28 -08:00
committed by GitHub

6
bw-dev
View File

@ -30,12 +30,12 @@ function execweb {
}
function initdb {
execweb python manage.py migrate
execweb python manage.py initdb "$@"
runweb python manage.py migrate
runweb python manage.py initdb "$@"
}
function makeitblack {
docker-compose run --rm web black celerywyrm bookwyrm
runweb black celerywyrm bookwyrm
}
function awscommand {