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