Update README.md

run in docker instruction
This commit is contained in:
bartek 2024-10-23 11:03:50 +02:00 committed by GitHub
parent d9ca3ec061
commit 09b2c23cc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,6 +46,12 @@ You can configure the agent's name, model, and prompts in their profile like `an
You can configure project details in `settings.js`. [See file for more details](settings.js)
### Run in docker to reduce some of the risks
```
docker run -i -t --rm -v $(pwd):/usr/src/app -w /usr/src/app node:latest npm start
```
### Online Servers
To connect to online servers your bot will need an official Microsoft/Minecraft account. You can use your own personal one, but will need another account if you want to connect with it. Here are example settings for this:
```