feat: prefer using the funkwhale-manage entrypoint
This replaces `poetry run python3 manage.py` with `venv/bin/funkwhale-manage`. Command running `venv/bin/funkwhale-manage` assume the current working directory is `/srv/funkwhale` on common deployments. In the funkwhale api docker image, the funwhale-manage command line interface is available globally.
This commit is contained in:
parent
75c9b1eabe
commit
14b5e137bd
25 changed files with 145 additions and 144 deletions
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
set -eux
|
||||
|
||||
python3 /app/manage.py collectstatic --noinput
|
||||
python3 /app/manage.py migrate
|
||||
funkwhale-manage collectstatic --noinput
|
||||
funkwhale-manage migrate
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
gunicorn config.asgi:application \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue