aspcore-rhtx-pg.dockerfile 421 B

12345678910111213
  1. FROM microsoft/dotnet:2.2-sdk AS build
  2. WORKDIR /app
  3. COPY PlatformBenchmarks .
  4. RUN dotnet publish -c Release -o out
  5. FROM microsoft/dotnet:2.2-aspnetcore-runtime AS runtime
  6. ENV ASPNETCORE_URLS http://+:8080
  7. ENV COMPlus_ReadyToRun 0
  8. WORKDIR /app
  9. COPY --from=build /app/out ./
  10. COPY Benchmarks/appsettings.postgresql.json ./appsettings.json
  11. ENTRYPOINT ["dotnet", "PlatformBenchmarks.dll", "KestrelTransport=LinuxTransport"]