Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 authored Feb 16, 2021
1 parent f9064ea commit cc17d70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ COPY build/libs/KittyBot-all.jar KittyBot.jar

RUN apk update && apk upgrade && apk add curl

ENTRYPOINT ["java", "-jar", "KittyBot.jar"]
CMD ["-Xmx1G", "-XX:+UseG1GC"]
ENV JAVA_OPTS=-Xmx1G -XX:+UseG1GC

ENTRYPOINT java -jar $JAVA_OPTS KittyBot.jar

0 comments on commit cc17d70

Please sign in to comment.