Skip to content

Commit

Permalink
add docker image docs (All-Hands-AI#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufansong authored Mar 27, 2024
1 parent 4304ace commit 5db5acd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ First, make sure Docker is running:
```bash
docker ps # this should exit successfully
```
Then pull our latest image [here](https://hub.docker.com/r/opendevin/sandbox/tags)
```bash
docker pull opendevin/sandbox:v0.1
```

Then start the backend:
```bash
export OPENAI_API_KEY="..."
Expand Down
5 changes: 5 additions & 0 deletions opendevin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ Example screenshot:
docker build -f opendevin/sandbox/Dockerfile -t opendevin/sandbox:v0.1 .
```

Or you can pull the latest image [here](https://hub.docker.com/r/opendevin/sandbox/tags):
```bash
docker pull opendevin/sandbox:v0.1
```

2. Set the `OPENAI_API_KEY`, please find more details [here](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety). Also, choose the model you want. Default is `gpt-4-0125-preview`
```bash
export OPENAI_API_KEY=xxxxxxx
Expand Down

0 comments on commit 5db5acd

Please sign in to comment.