aspcore-vb-mw-ado-pg.dockerfile 362 B

123456789101112
  1. FROM mcr.microsoft.com/dotnet/core/sdk:5.0 AS build
  2. WORKDIR /app
  3. COPY Benchmarks .
  4. RUN dotnet publish -c Release -o out
  5. COPY Benchmarks/appsettings.postgresql.json ./out/appsettings.json
  6. FROM mcr.microsoft.com/dotnet/core/aspnet:5.0 AS runtime
  7. ENV ASPNETCORE_URLS http://+:8080
  8. WORKDIR /app
  9. COPY --from=build /app/out ./
  10. ENTRYPOINT ["dotnet", "Benchmarks.dll"]