mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-10 07:58:39 -05:00
Major changes: - Rename project from octo-fiesta to allstarr - Add Jellyfin proxy support alongside Subsonic/Navidrome - Implement fuzzy search with relevance scoring and Levenshtein distance - Add POST body logging for debugging playback progress issues - Separate local and external artists in search results - Add +5 score boost for external results to prioritize larger catalog(probably gonna reverse it) - Create FuzzyMatcher utility for intelligent search result scoring - Add ConvertPlaylistToJellyfinItem method for playlist support - Rename keys folder to apis and update gitignore - Filter search results by relevance score (>= 40) - Add Redis caching support with configurable settings - Update environment configuration with backend selection - Improve external provider integration (SquidWTF, Deezer, Qobuz) - Add tests for all services
31 lines
679 B
Docker
31 lines
679 B
Docker
# Build stage
|
|
FROM mcr.microsoft.com/dotnet/sdk:9.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:9.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 .
|
|
|
|
EXPOSE 8080
|
|
ENV ASPNETCORE_URLS=http://+:8080
|
|
|
|
ENTRYPOINT ["dotnet", "allstarr.dll"]
|