Clone or fork this repo to use it as a base to create a dockerized Telegram bot, using Python as programming language.
bot.py: your bot's codebaseDockerfile: the file to build the bot image.docker-compose.yml: used to start the bot.requirements.txt: used to specify your dependencies.
- Clone or fork this repo.
- Write your bot in
bot.py. - Write an
.envfile with yourTELEGRAM_TOKENin it and other env vars. - Run
docker-compose up -dand wait for the build to finish.
That's it. Enjoy your dockerized bot. 🚀