add docker image docs (#263)

This commit is contained in:
Yufan Song
2024-03-27 13:08:53 -07:00
committed by GitHub
parent 4304aceff3
commit 5db5acdaa3
2 changed files with 10 additions and 0 deletions

View File

@@ -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="..."

View File

@@ -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