- Java 11.
- Create a new bot and get an authentication token for your bot.
- Clone repository somewhere
- Install Java 11 and run
gradle shadowJar
- Set Telegram Bot Token as environmental variable:
setx TG_API "<token from BotFather>"
- Build Dockerfile:
docker build -t tgcryptobot:1.1.2 .
- Run Docker image:
docker run -p 8080:8080 -e TG_API tgcryptobot:1.1.2
- Enjoy!