To learn how to dockerize your bot read Dockerize a Facebook bot (Botkit) and deploy it to Heroku
To learn how to create a CI/CD Pipeline to deploy automatically your bot, read Create a CI/CD Pipeline with CircleCi to deploy your bot in a Docker Image to Heroku