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.

Dockerfile 858B

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