diff --git a/infra/librespot/Dockerfile b/infra/librespot/Dockerfile index 4b1149a..4935dd8 100644 --- a/infra/librespot/Dockerfile +++ b/infra/librespot/Dockerfile @@ -17,9 +17,11 @@ WORKDIR /src # Limit parallelism to 2 (RPi 3B+ has 4 cores but only 1GB RAM). # Lower = less memory pressure, slower build. Higher = OOM risk. +# Features: pulseaudio (audio out) + native-tls (TLS) + with-libmdns (Spotify Connect +# discovery via mDNS — required for the device to appear in phone Spotify apps). RUN cargo build --release --jobs 2 \ --no-default-features \ - --features="pulseaudio-backend,native-tls" + --features="pulseaudio-backend,native-tls,with-libmdns" FROM debian:bookworm-slim