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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
  2. WORKDIR /app
  3. EXPOSE 80
  4. EXPOSE 443
  5. FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
  6. WORKDIR /src
  7. COPY ["SpotifyService/SpotifyService.csproj", "SpotifyService/SpotifyService/"]
  8. COPY ["IdentityProvider/IdentityProvider.csproj", "IdentityProvider/IdentityProvider/"]
  9. COPY ["NemAnBlazor/NemAnBlazor.csproj", "NemAnBlazor/NemAnBlazor/"]
  10. COPY ["SpotifyWorker/SpotifyWorker.csproj", "SpotifyWorker/SpotifyWorker/"]
  11. COPY *.sln .
  12. COPY *.csproj ./
  13. RUN dotnet restore "SpotifyService/SpotifyService.csproj"
  14. RUN dotnet restore "IdentityProvider/IdentityProvider.csproj"
  15. RUN dotnet restore "NemAnBlazor/NemAnBlazor.csproj"
  16. RUN dotnet restore "SpotifyWorker/SpotifyWorker.csproj"
  17. COPY . .
  18. WORKDIR "/src/SpotifyService/SpotifyService"
  19. RUN dotnet build "SpotifyService.csproj" -c Release -o /app/build
  20. COPY . .
  21. WORKDIR "/src/IdentityProvider/IdentityProvider"
  22. RUN dotnet build "IdentityProvider.csproj" -c Release -o /app/build1
  23. COPY . .
  24. WORKDIR "/src/NemAnBlazor/NemAnBlazor"
  25. RUN dotnet build "NemAnBlazor.csproj" -c Release -o /app/build2
  26. COPY . .
  27. WORKDIR "/src/SpotifyWorker/SpotifyWorker"
  28. RUN dotnet build "SpotifyWorker.csproj" -c Release -o /app/build3
  29. FROM build AS publish
  30. RUN dotnet publish "NemAnBlazor.csproj" -c Release -o /app/publish
  31. FROM base AS final
  32. WORKDIR /app
  33. COPY --from=publish /app/publish .
  34. ENTRYPOINT ["dotnet", "NemAnBlazor.dll"]