diff --git a/README.md b/README.md index a859dbc..19106b8 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,15 @@ There are a couple of ways on how to run `pin-bot`: npx ts-node ``` -A docker image is also planned. +If you want to use the docker image, simply run: +```bash +docker run -d --name pin-bot --restart unless-stopped -e TOKEN= magi3r/pin-bot:latest +``` +If you prefer alpine because of the slightly smaller image size, run: +```bash +docker run -d --name pin-bot --restart unless-stopped -e TOKEN= magi3r/pin-bot:alpine +``` + ## Usage You need to provide a discord bot token. You can get one from the [developer portal](https://discord.com/developers/applications) by creating a new application. You can either provide it as: - an environmental variable @@ -64,4 +72,4 @@ You also need to deploy the commands (although only once). This is done by runni ```bash node bot.js -u ``` -You still need to provide a token for this and the bot will start automatically after this. \ No newline at end of file +You still need to provide a token for this and the bot will start automatically after this.