Telegram bot for sending predefined learning materials with some periodicity
How to build
./gradlew build
How to create Docker image
docker build --platform linux/amd64 -t guru-bot .
How to run Docker container (don't do this on Apple Silicon)
docker run -d --name guru-bot-container \
-e BOT_USERNAME="<bot username>" \
-e BOT_TOKEN="bot token" \
guru-bot
Make label
docker tag guru-bot:latest akryvtsun/guru-bot:latest
Docker Hub push
docker push akryvtsun/guru-bot:latest
- Building Dynamic Telegram Bots with Kotlin
- Dockerfile generation
- ‘No Main Manifest Attribute’ Error in Java
- java.lang.NoClassDefFoundError: org/telegram/telegrambots/meta/exceptions/TelegramApiException
- How to pack into jar file all dependencies in build.gradle.kts?
- A Step-by-Step guide to Build and Push Your Own Docker Images to DockerHub
- Troubleshooting and Fixing ‘exec /usr/java/openjdk-17/bin/java: exec format error’ in Azure DevOps CI/CD Pipeline on Mac