Files
tg_post_min/entrypoint.sh
2025-08-20 21:10:31 +09:00

16 lines
204 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# Export env from .env if present
if [ -f ".env" ]; then
set -a
source ./.env
set +a
fi
# Run migrations
alembic upgrade head
# Start bot
python -m app.main