audio streaming app plyr.fm

fix: prevent uv runtime sync in production Dockerfile (#935)

uv run without --no-sync triggers dependency resolution on every cold
start, hitting PyPI from within the Fly network. When PyPI connections
fail (connection reset), the process exits 1, Fly restarts it, and the
machine eventually hits the 10-restart limit and dies permanently.

Dependencies are already installed at build time via uv sync --frozen.
Adding --no-sync to the CMD prevents any runtime resolution.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

authored by zzstoatzz.io

Claude Opus 4.6 and committed by
GitHub
0b85d14d 9fbb4944

+1 -1
+1 -1
backend/Dockerfile
··· 29 29 EXPOSE 8000 30 30 31 31 # run the application 32 - CMD ["uv", "run", "uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8000"] 32 + CMD ["uv", "run", "--no-sync", "uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8000"]