Blazor & WASM in combination to get statistics from Spotify API for performing the song analysis. With separate microservices for auth, Spotify, user data tracking, and application, connected through gRPC with Polly.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
  2. FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
  3. WORKDIR /app
  4. FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
  5. WORKDIR /src
  6. COPY ["SpotifyWorker/SpotifyWorker.csproj", "SpotifyWorker/"]
  7. COPY ["IdentityProvider/IdentityProvider.csproj", "IdentityProvider/"]
  8. COPY ["GrpcShared/GrpcShared.csproj", "GrpcShared/"]
  9. COPY ["SpotifyService/SpotifyService.csproj", "SpotifyService/"]
  10. RUN dotnet restore "SpotifyWorker/SpotifyWorker.csproj"
  11. COPY . .
  12. WORKDIR "/src/SpotifyWorker"
  13. RUN dotnet build "SpotifyWorker.csproj" -c Release -o /app/build
  14. FROM build AS publish
  15. RUN dotnet publish "SpotifyWorker.csproj" -c Release -o /app/publish
  16. FROM base AS final
  17. WORKDIR /app
  18. COPY --from=publish /app/publish .
  19. ENTRYPOINT ["dotnet", "SpotifyWorker.dll"]