Change instruction for use docker-compose
This commit is contained in:
parent
664a099cb8
commit
c8004bed7f
|
@ -2,10 +2,6 @@
|
||||||
|
|
||||||
This bot allows you to automatically assign the top1/top10/top50 roles on the 42CTF Discord server.
|
This bot allows you to automatically assign the top1/top10/top50 roles on the 42CTF Discord server.
|
||||||
|
|
||||||
To use it you just have to create the docker container :
|
|
||||||
```
|
|
||||||
docker build -t discord_bot .
|
|
||||||
```
|
|
||||||
|
|
||||||
Create an `env.list` file containing :
|
Create an `env.list` file containing :
|
||||||
```
|
```
|
||||||
|
@ -15,5 +11,5 @@ AUTH_TOKEN=<api_42CTF_token>
|
||||||
|
|
||||||
And then run it with :
|
And then run it with :
|
||||||
```
|
```
|
||||||
docker run -d --env-file env.list --name discord_bot
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue