evhttp-sharp.dockerfile 293 B

1234567891011
  1. FROM tfb/mono:latest
  2. ADD ./ /evhttp
  3. WORKDIR /evhttp
  4. RUN xbuild src/EvHttpSharpBenchmark.csproj /t:Clean
  5. RUN xbuild src/EvHttpSharpBenchmark.csproj /p:Configuration=Release
  6. ENV MONO_GC_PARAMS nursery-size=64m
  7. CMD mono -O=all src/bin/Release/EvHttpSharpBenchmark.exe 127.0.0.1 8085 $(nproc)