Skip to content

Commit 4a09e63

Browse files
committed
docs: update README with instructions using docker run
1 parent 8776ab9 commit 4a09e63

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,13 @@ Get your Discord token by following [this guide](https://gist.github.com/MarvNC/
2323

2424
### Running with Docker
2525

26-
1. Write a Docker Compose file like this:
27-
28-
```yaml
29-
services:
30-
disco:
31-
image: ghcr.io/NTUT-NPC/disco:latest
32-
container_name: disco
33-
environment:
34-
- DISCORD_TOKEN=YOUR_DISCORD_TOKEN
35-
restart: unless-stopped
36-
```
37-
38-
2. Run `docker-compose up -d` to start the bot
26+
```sh
27+
docker run -d \
28+
--name disco \
29+
--restart unless-stopped \
30+
-e DISCORD_TOKEN=YOUR_DISCORD_TOKEN \
31+
ghcr.io/ntut-npc/disco:latest
32+
```
3933

4034
### Running locally
4135

@@ -46,10 +40,10 @@ Get your Discord token by following [this guide](https://gist.github.com/MarvNC/
4640
# Edit .env with your favorite editor
4741
```
4842

49-
3. Run the bot with `uv`:
43+
2. Run the bot with `uv`:
5044

5145
```sh
5246
uv run bot.py
5347
```
5448

55-
4. Keep the bot online and party all night long! 🎉
49+
3. Keep the bot online and party all night long! 🎉

0 commit comments

Comments
 (0)