jester.dockerfile 375 B

12345678910111213141516
  1. FROM ubuntu:18.04
  2. RUN apt update && apt install -y libgc-dev gcc build-essential curl git
  3. ENV CHOOSENIM_NO_ANALYTICS 1
  4. ENV CHOOSENIM_CHOOSE_VERSION 1.4.0
  5. RUN curl https://nim-lang.org/choosenim/init.sh -sSf | sh -s -- -y
  6. ENV PATH $PATH:/root/.nimble/bin
  7. ADD ./ /jester
  8. WORKDIR /jester
  9. RUN nimble c -d:danger --threads:on -y techempower.nim
  10. EXPOSE 8080
  11. CMD ./techempower