fix: direct venv python in entrypoint, fix INSIGHTFACE_HOME path, add badges

- entrypoint.sh: replace `uv run` with `/app/.venv/bin/python` to skip
  uv's sync check which was re-downloading ruff and rebuilding the package
  on every container startup
- compose.yml, .env.example: fix INSIGHTFACE_HOME /models → /models/.insightface;
  InsightFace appends models/ to root, so /models produced /models/models/buffalo_l
- README.md: add Immich and Frigate badges from upstream
- CHANGELOG.md, pyproject.toml, uv.lock: bump to 0.2.1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 02:10:01 +00:00
co-authored by Claude Sonnet 4.6
parent 4529a63082
commit c3bf81d490
7 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -4,13 +4,13 @@ export PYTHONUNBUFFERED=1
# 1. Run the job immediately on startup
echo "▶ Running on startup..."
uv run python -m winnow.cli
/app/.venv/bin/python -m winnow.cli
# 2. If a schedule exists, start the scheduler
if [ -n "${CRON_SCHEDULE:-}" ]; then
echo "▶ CRON_SCHEDULE set to: $CRON_SCHEDULE"
echo "▶ Switching to scheduled mode..."
exec uv run python3 /app/scheduler.py
exec /app/.venv/bin/python /app/scheduler.py
else
echo "▶ No schedule set, exiting."
fi