2
0

Dockerfile 421 B

12345678910111213141516
  1. FROM lein:8-jdk_1.8_2.8.1
  2. WORKDIR /tmp/app
  3. RUN lein new cryogen app --force --to-dir /tmp/app
  4. #RUN lein uberjar
  5. RUN apt-get update
  6. RUN apt-get install -y ruby ruby-integration inotify-tools
  7. RUN gem install --no-ri --no-rdoc sass -v 3.3.14
  8. # uncomment to remove default site. with compression I think it should be fine to leave for default testing
  9. # RUN rm -rf /tmp/app
  10. CMD ["lein", "-o", "ring", "server-headless"]