Gregor, aren't you well?

This commit is contained in:
Arne Schlüter 2019-01-14 11:29:03 +01:00
commit 887dafd7fc
12 changed files with 1202 additions and 0 deletions

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM clojure:openjdk-8-lein-2.8.3-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY project.clj /usr/src/app
RUN lein deps
COPY . /usr/src/app
RUN mv "$(lein uberjar | sed -n 's/^Created \(.*standalone\.jar\)/\1/p')" app-standalone.jar
CMD ["java", "-jar", "app-standalone.jar"]