From 34e91dcc0d40f9e141f534b9f6e62633703ee4f3 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Sat, 7 Nov 2020 12:09:23 +0100 Subject: [PATCH] Updated jar archive name in pom.xml Signed-off-by: Louis Vallat --- Dockerfile | 4 ++-- pom.xml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 22b15fa..7a516e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM openjdk:latest -COPY . /usr/src/RedditReposterBot/ +COPY ./target/RedditReposterBot.jar /usr/src/RedditReposterBot/ WORKDIR /usr/src/RedditReposterBot/ -CMD [ "java", "-jar", "RedditReposterBot-full.jar" ] \ No newline at end of file +CMD [ "java", "-jar", "RedditReposterBot.jar" ] \ No newline at end of file diff --git a/pom.xml b/pom.xml index 05b373e..13850cc 100644 --- a/pom.xml +++ b/pom.xml @@ -26,6 +26,8 @@ jar-with-dependencies + RedditReposterBot + false true