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 kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Dockerfile 602B

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