FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /app COPY Benchmarks . RUN dotnet publish -c Release -o out FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime ENV DOTNET_SYSTEM_NET_SOCKETS_INLINE_COMPLETIONS 1 # Full PGO ENV DOTNET_TieredPGO 1 ENV DOTNET_TC_QuickJitForLoops 1 ENV DOTNET_ReadyToRun 0 WORKDIR /app COPY --from=build /app/out ./ EXPOSE 8080 ENTRYPOINT ["dotnet", "Benchmarks.dll"]