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.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

12345678910111213141516171819202122232425
  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/aspnet:6.0 AS base
  3. WORKDIR /app
  4. EXPOSE 80
  5. EXPOSE 443
  6. FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
  7. WORKDIR /src
  8. COPY ["SpotifyService/SpotifyService.csproj", "SpotifyService/"]
  9. COPY ["GrpcShared/GrpcShared.csproj", "GrpcShared/"]
  10. COPY ["IdentityProvider/IdentityProvider.csproj", "IdentityProvider/"]
  11. COPY ["NemAnBlazor/NemAnBlazor.csproj", "NemAnBlazor/"]
  12. RUN dotnet restore "SpotifyService/SpotifyService.csproj"
  13. COPY . .
  14. WORKDIR "/src/SpotifyService"
  15. RUN dotnet build "SpotifyService.csproj" -c Release -o /app/build
  16. FROM build AS publish
  17. RUN dotnet publish "SpotifyService.csproj" -c Release -o /app/publish /p:UseAppHost=false
  18. FROM base AS final
  19. WORKDIR /app
  20. COPY --from=publish /app/publish .
  21. ENTRYPOINT ["dotnet", "SpotifyService.dll"]