diff --git a/README.md b/README.md index e24df00..e904bcd 100644 --- a/README.md +++ b/README.md @@ -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.