README update

This commit is contained in:
mcinj 2022-04-22 14:32:55 -04:00
parent 282402d14f
commit e6a7aa780e

View file

@ -25,5 +25,29 @@ pip install -r requirements.txt
python src/cli.py
```
### Docker
#### Run it using a hub.docker.com image
```bash
# Run the container
docker run --name steamgifts -d -it mcinj/docker-steamgifts-bot:latest
# Attach to it to fill in the questions
docker attach steamgifts # to detach, you must use ctrl+p then ctrl+q.
# ctrl+c will kill the container
```
#### Or build it yourself locally
```bash
# Build the image
docker build -t steamgifts:latest .
# Run the container
docker run --name steamgifts -d -it steamgifts:latest
# Attach to it to fill in the questions
docker attach steamgifts # to detach, you must use ctrl+p then ctrl+q.
# ctrl+c will kill the container
```
### Help
Please leave your feedback and bugs in `Issues` page.