Files
flowsint/flowsint-api/entrypoint.sh
2025-11-14 17:29:02 +01:00

13 lines
237 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$SKIP_MIGRATIONS" != "true" ]; then
echo "Running database migrations..."
alembic upgrade head
else
echo "Skipping database migrations (SKIP_MIGRATIONS=true)..."
fi
echo "Starting application..."
exec "$@"