A Dockerfile to run XMM bot.
Preferably your directory structure should look like this:
├── bot1
│ ├── Dockerfile
│ ├── xmm-bot.json
├── bot2
│ ├── Dockerfile
│ ├── xmm-bot.json
├── bot3
│ ├── Dockerfile
│ ├── xmm-bot.json
A sample file is included here.
Do this in each bot folder
Build the image docker build -t xmm:<BOTNAME> .
Run the container docker run -d xmm:<BOTNAME>
Stop : docker kill <CONTAINER_ID>
Everytime you change bot config, you need to create the image at step#4.
If you build the image with the same tag/name pair then old image will be dangling image. To remove all dangling images use docker images -q --filter dangling=true | xargs docker rmi