mirror of
https://github.com/InsanusMokrassar/ConfigurableInlineTelegramBot.git
synced 2024-11-22 00:03:53 +00:00
updates for docker publication
This commit is contained in:
parent
3f4dacc129
commit
290e77cc4c
@ -2,8 +2,8 @@ FROM java:8
|
||||
|
||||
USER 1000
|
||||
|
||||
ADD ./build/distributions/configurable_inline_telegram_bot.tar /
|
||||
|
||||
VOLUME /config.json
|
||||
|
||||
ENTRYPOINT ["/configurable_inline_telegram_bot/bin/configurable_inline_telegram_bot", "/config.json"]
|
||||
|
||||
ADD ./build/distributions/configurable_inline_telegram_bot.tar /
|
||||
|
@ -21,7 +21,9 @@ mainClassName="dev.inmo.configurable_inline_telegram_bot.StartBotKt"
|
||||
|
||||
apply from: "publish.gradle"
|
||||
|
||||
project.version = "$library_version"
|
||||
if (System.getenv("DOCKER_BUILD") != "true") {
|
||||
project.version = "$library_version"
|
||||
}
|
||||
project.group = "$library_group"
|
||||
|
||||
repositories {
|
||||
|
Loading…
Reference in New Issue
Block a user