mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
Major update since basic Spotify playlist injection: Added web UI for admin dashboard with playlist management, track matching, and manual mapping controls. Lyrics system with prefetching, caching, and manual ID mapping. Manual track mapping for missing tracks with persistent storage. Memory leak fixes and performance improvements. Security hardening with admin endpoints on internal port. Scrobbling fixes and session cleanup. HiFi API integration with automatic failover. Playlist cache pre-building for instant loading. Three-color progress bars showing local/external/missing track counts.
32 lines
770 B
Docker
32 lines
770 B
Docker
# Build stage
|
|
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
|
WORKDIR /src
|
|
|
|
COPY allstarr.sln .
|
|
COPY allstarr/allstarr.csproj allstarr/
|
|
COPY allstarr.Tests/allstarr.Tests.csproj allstarr.Tests/
|
|
|
|
RUN dotnet restore
|
|
|
|
COPY allstarr/ allstarr/
|
|
COPY allstarr.Tests/ allstarr.Tests/
|
|
|
|
RUN dotnet publish allstarr/allstarr.csproj -c Release -o /app/publish
|
|
|
|
# Runtime stage
|
|
FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
|
WORKDIR /app
|
|
|
|
# Install curl for health checks
|
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN mkdir -p /app/downloads
|
|
|
|
COPY --from=build /app/publish .
|
|
|
|
# Only expose the main proxy port (8080)
|
|
# Admin UI runs on 5275 but is NOT exposed - access via docker exec or SSH tunnel
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["dotnet", "allstarr.dll"]
|