Skip to content

Commit

Permalink
Changed the docker build to include the source and clojure, so we can
Browse files Browse the repository at this point in the history
debug from the container.

This will have the downside of increasing the image size, but it'll
probably be worth it
  • Loading branch information
kiranshila committed Aug 14, 2021
1 parent b630397 commit 0d23ebc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk11:alpine-jre
FROM clojure:openjdk-11-tools-deps
MAINTAINER Kiran Shila <[email protected]>
COPY target/Doplarr.jar /home/Doplarr.jar
CMD ["java","-jar","/home/Doplarr.jar"]
COPY . /home/Doplarr
CMD ["java","-jar","/home/Doplarr/target/Doplarr.jar"]

0 comments on commit 0d23ebc

Please sign in to comment.