scorper.dockerfile 279 B

12345678910111213
  1. FROM nimlang/nim:alpine
  2. ENV PATH $PATH:/root/.nimble/bin
  3. ADD ./ /scorper
  4. WORKDIR /scorper
  5. RUN nimble install -d -y
  6. RUN nimble c -d:ChronosAsync -d:GzipEnable=false -d:release --opt:speed -d:danger -o:scorper_bench_bin ./scorper_bench.nim
  7. EXPOSE 8080
  8. CMD ./scorper_bench_bin