feat: complete dashboard redesign, proxy unification, and Windows compatibility fixes
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
# Stage 1: Build librespot from source
|
||||
# Pin to v0.5.0 — v0.8.0 has a vergen_lib dependency conflict
|
||||
FROM rust:slim-bookworm AS builder
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends pkg-config libssl-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN cargo install librespot --version "=0.5.0"
|
||||
# Use the official librespot image
|
||||
FROM ghcr.io/librespot-org/librespot:latest
|
||||
|
||||
# Stage 2: Minimal runtime image
|
||||
FROM debian:bookworm-slim
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=builder /usr/local/cargo/bin/librespot /usr/local/bin/librespot
|
||||
ENTRYPOINT ["librespot"]
|
||||
# The official image already has the entrypoint set to librespot
|
||||
# We just need to ensure it's used correctly in docker-compose
|
||||
|
||||
Reference in New Issue
Block a user