Revision 5bc8c7b267a1e713d30419ca90288cf916baf908 authored by Boris Sekachev on 22 June 2023, 07:29:10 UTC, committed by GitHub on 22 June 2023, 07:29:10 UTC
1 parent 5d36068
Raw File
backend_entrypoint.sh
#!/bin/sh

set -e

${HOME}/wait-for-it.sh ${CVAT_POSTGRES_HOST}:5432 -t 0
python3 ${HOME}/manage.py migrate
python3 ${HOME}/manage.py collectstatic --no-input
exec /usr/bin/supervisord -c supervisord/server.conf
back to top