video-shuoshan/backend/entrypoint.sh
zyc 060d3a726f
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m16s
fix bug report
2026-03-13 17:17:01 +08:00

9 lines
130 B
Bash
Executable File

#!/bin/bash
set -e
echo "Running database migrations..."
python manage.py migrate --noinput
echo "Starting server..."
exec "$@"