aspnet-mono-ngx.dockerfile 278 B

123456789101112
  1. FROM mono:5.10.0.160
  2. RUN apt update -yqq && apt install -yqq nginx wget mono-fastcgi-server
  3. WORKDIR /aspnet
  4. COPY src src
  5. COPY nginx.conf nginx.conf
  6. COPY run.sh run.sh
  7. RUN xbuild src/Benchmarks.build.proj /t:Clean
  8. RUN xbuild src/Benchmarks.build.proj /t:Build
  9. CMD bash run.sh