mirror of
https://github.com/saltbo/zpan.git
synced 2026-09-01 15:49:00 +08:00
5eac720dd4
Two follow-ups: - aria2 peers now report progress (0..1) derived from the peer's piece bitfield (seeder => 1.0), matching qBittorrent. Previously the Peers list showed '—' for aria2 because the field was never populated. - The server builder copied the whole repo via 'COPY . .', so a cmd/-only (downloader) change busted the layer and forced a full vite/tsup rebuild. Copy only the build inputs + final-stage sources (src, server, shared, public, index.html, vite.config.ts, tsconfig.json, migrations, scripts) so downloader-only pushes reuse the cached server image. Verified the builder stage still builds and produces dist/dist-server/migrations/entrypoint.