From 3da6fd98e9a7734b4ea9fe1492553fbff8d96de5 Mon Sep 17 00:00:00 2001 From: antleb Date: Mon, 31 Jan 2022 04:21:31 +0200 Subject: [PATCH] added Dockerfile --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..62db9c5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM openjdk:8-jdk-alpine + +VOLUME /tmp +VOLUME /mnt/config +VOLUME /mnt/logs + +COPY build/libs/*-SNAPSHOT.jar app.jar + +RUN ln -s /mnt/config/application.properties ./application.properties + +ENTRYPOINT ["java","-jar","/app.jar", "--config.location=application.properties"]