First go at docker, fixed typo in github action, moved config to env variable

This commit is contained in:
Kiran Shila
2021-08-11 12:49:32 -07:00
parent 84f1ae3764
commit 7c7630300a
4 changed files with 9 additions and 1 deletions

View File

@@ -32,4 +32,4 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
file: target/Doplarr.jar
files: target/Doplarr.jar

6
Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM clojure:openjdk-11-tools-deps
MAINTAINER Kiran Shila <me@kiranshila.com>
COPY . /usr/src/doplarr
WORKDIR /usr/src/doplarr
RUN clojure -T:build uberjar
CMD ["java","-jar","Doplarr.jar"]

View File

@@ -9,6 +9,8 @@
cheshire/cheshire {:mvn/version "5.10.1"}
hato/hato {:mvn/version "0.8.2"}}
:jvm-opts ["-Dconfig=config.edn"]
:aliases {:build {:extra-paths ["build"]
:deps {io.github.clojure/tools.build {:git/tag "v0.1.6" :git/sha "5636e61"}
com.github.seancorfield/depstar {:mvn/version "2.1.278"}}