CodeMaatDockerFile 315 B

123456789101112131415
  1. FROM clojure:alpine
  2. VOLUME /data
  3. LABEL description="code-maat docker image."
  4. ARG dest=/usr/src/code-maat
  5. RUN mkdir -p $dest
  6. WORKDIR $dest
  7. COPY project.clj $dest
  8. RUN lein deps
  9. COPY . $dest
  10. RUN mv "$(lein uberjar | sed -n 's/^Created \(.*standalone\.jar\)/\1/p')" app-standalone.jar
  11. RUN apk update
  12. RUN apk add git