Add docs about using pre-built image + remove duplicated method (#4359)

This commit is contained in:
Amir
2024-10-13 14:34:30 +03:00
committed by GitHub
parent 2692c0c8fd
commit 87021bd78f
2 changed files with 5 additions and 6 deletions

View File

@@ -98,6 +98,11 @@ Please refer to [this README](./tests/integration/README.md) for details.
1. Add your dependency in `pyproject.toml` or use `poetry add xxx`
2. Update the poetry.lock file via `poetry lock --no-update`
### 9. Use existing Docker image
To reduce build time (e.g., if no changes were made to the client-runtime component), you can use an existing Docker container image. Follow these steps:
1. Set the SANDBOX_RUNTIME_CONTAINER_IMAGE environment variable to the desired Docker image.
2. Example: export SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.9-nikolaik
## Develop inside Docker container
TL;DR