github.com/rohankumardubey/draft-classic@v0.16.0/packs/clojure/Dockerfile (about) 1 FROM clojure as BUILD 2 COPY . /usr/src/app 3 WORKDIR /usr/src/app 4 RUN lein ring uberjar 5 6 FROM openjdk:8-jdk-alpine 7 ENV PORT 3000 8 EXPOSE 3000 9 COPY --from=BUILD /usr/src/app/target/hello-world-0.1.0-SNAPSHOT-standalone.jar /opt/app.jar 10 WORKDIR /opt 11 CMD ["java", "-jar", "app.jar"]