2022-05-15 16:40:00 +02:00
|
|
|
FROM openjdk:17.0.2
|
2017-12-20 17:27:05 +01:00
|
|
|
WORKDIR /bot_src
|
2018-03-01 15:52:42 +01:00
|
|
|
ARG BUILD_NBR
|
|
|
|
ARG BRANCH_NAME
|
2020-04-12 17:20:46 +02:00
|
|
|
ARG BRANCH_NAME
|
|
|
|
ARG GITHUB_RUN_NUMBER
|
|
|
|
ADD build/libs/ClaptrapBot-*.jar /bot_src/bot.jar
|
|
|
|
RUN java -version
|
2018-03-01 12:10:30 +01:00
|
|
|
CMD java -jar bot.jar -t ${TOKEN}
|
2021-02-18 15:21:59 +01:00
|
|
|
LABEL org.opencontainers.image.source=https://github.com/Sebclem/ClaptrapBot/
|