Gregor, aren't you well?
This commit is contained in:
commit
887dafd7fc
12 changed files with 1202 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue