Fixed some typos

This commit is contained in:
sablin39 2023-07-09 17:14:14 +08:00
parent b41d9c25f0
commit ca97b7998e

View file

@ -76,7 +76,7 @@ ## Docker Setup
To run the docker image, you can use the following command.
```bash
docker run docker run -it -v <MetaGPT-config-dir>:/app/metagpt/config -v <Workspace-dir>:/app/metagpt/workspace metagpt:<version> <command>
docker run -it -v <MetaGPT-config-dir>:/app/metagpt/config -v <Workspace-dir>:/app/metagpt/workspace metagpt:<version> <command>
```
This command mounts the config folder and workspace folder in the host machine, so the container can use the same comfiguration and store the works in the host machine. You should use absolute directory of these folders. The `command` is what you want to run, you can set it as `/bin/bash -c "cd metagpt && python startup.py "Write helloworld in python""` or just `/bin/bash` for interactive terminal.