| set -e | |
| # Run database seeding | |
| echo "Running database seeding..." | |
| python db_seeder.py | |
| # Then exec the container's main process (what's specified as CMD in the Dockerfile) | |
| exec "$@" |
| set -e | |
| # Run database seeding | |
| echo "Running database seeding..." | |
| python db_seeder.py | |
| # Then exec the container's main process (what's specified as CMD in the Dockerfile) | |
| exec "$@" |