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.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Dockerfile 764B

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/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. RUN dotnet restore "SpotifyService/SpotifyService.csproj"
  11. COPY . .
  12. WORKDIR "/src/SpotifyService"
  13. RUN dotnet build "SpotifyService.csproj" -c Release -o /app/build
  14. FROM build AS publish
  15. RUN dotnet publish "SpotifyService.csproj" -c Release -o /app/publish
  16. FROM base AS final
  17. WORKDIR /app
  18. COPY --from=publish /app/publish .
  19. ENTRYPOINT ["dotnet", "SpotifyService.dll"]