From 606094496d977fbd9426d9e1e4d61daeddb30150 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 25 Feb 2022 13:02:42 +0330 Subject: added a fatjar task --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..03628b8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM openjdk:11-jdk-alpine +ARG JAR_FILE=./build/libs/src.jar +COPY ${JAR_FILE} src.jar +ENTRYPOINT ["java", "-jar", "/src.jar"] -- cgit v1.2.3