diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2024-03-23 12:41:06 +0000 |
---|---|---|
committer | Luca Matei Pintilie <luca@lucamatei.com> | 2024-03-23 12:41:06 +0000 |
commit | 7d87635b9539e5c5f263f39428c1c76385ca827a (patch) | |
tree | c38cede7a2889e4f1358319ac0a90e21a3597d33 /readme.md | |
parent | 88c008973044f648cf439a94299a129754140086 (diff) | |
download | steve-bot-7d87635b9539e5c5f263f39428c1c76385ca827a.tar steve-bot-7d87635b9539e5c5f263f39428c1c76385ca827a.tar.gz steve-bot-7d87635b9539e5c5f263f39428c1c76385ca827a.tar.bz2 steve-bot-7d87635b9539e5c5f263f39428c1c76385ca827a.tar.lz steve-bot-7d87635b9539e5c5f263f39428c1c76385ca827a.tar.xz steve-bot-7d87635b9539e5c5f263f39428c1c76385ca827a.tar.zst steve-bot-7d87635b9539e5c5f263f39428c1c76385ca827a.zip |
Add container setup
Diffstat (limited to '')
-rwxr-xr-x | readme.md | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -23,3 +23,24 @@ A user added as a botmaster will be able to edit the config via discord with the This bot was built as a fork of [celesteBot](https://github.com/CelesteClassic/celestebot), so a lot of code is recycled. Feel free to make a pull request or use the code here. + +## Container + +The discord bot can be ran into a container as well. To build the +container simply run + +```sh +podman build -t steve-bot . +``` + +And to start it + +```sh +podman run \ + --volume="./api_keys.json:/app/api_keys.json"\ + --volume="./config.json:/app/config.json" \ + --volume="./custom_commands.json:/app/custom_commands.json" \ + --volume="./fair.json:/app/fair.json" \ + --volume="./runs_blacklist.json:/app/runs_blacklist.json" \ + -it steve-bot:latest +``` |