Add documentation for Docker.

This commit is contained in:
bertybuttface 2022-12-22 15:19:17 +00:00
parent 0175a09e33
commit 518519c30c

View File

@ -17,7 +17,6 @@ You should not be using this ChatGPT account while the bot is using it, because
If your OpenAI account uses Google Auth, you shouldn't encounter any of the more complicated Recaptchas — and can avoid using paid third-party CAPTCHA solving providers. To use Google auth, make sure your OpenAI account is using Google and then set IS_GOOGLE_LOGIN to true.
# Usage
- Create an unencrypted room
- Add the bot
@ -56,5 +55,14 @@ MATRIX_BOT_PASSWORD=
- `yarn build`
- `yarn start`
## Running with Docker
```
docker build . -t matrix-chatgpt-bot
docker run --cap-add=SYS_ADMIN -it matrix-chatgpt-bot
```
Note: Without -it flags in the command above you won't be able to stop the container using Ctrl-C
# License
GNU AGPLv3. See LICENSE