Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 659 Bytes

File metadata and controls

34 lines (19 loc) · 659 Bytes

hewbot-docker

Build Status

Putting hubot inside Docker.

Testing

Pre-requisites:

  • A slack token for your bot

To build a docker image

docker build -t hewbot-docker .

To run the docker image

docker run -e HUBOT_SLACK_TOKEN=XXXXXX -d hewbot-docker

To see your docker logs, run docker ps and grab the ID of your bot container then run docker logs $ID.

Adding Scripts

External Scripts

Assuming your hubot script is called hubot-foo

  • add hubot-foo to hubot/external-scripts.json