Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -26,26 +26,14 @@ drc exec opencode opencode
|
||||
|
||||
In the TUI, type `/models` to select a model from the registered weave models.
|
||||
|
||||
## Layout
|
||||
|
||||
- `config/opencode/` - image: Dockerfile + `opencode.json` (mounted live, see below)
|
||||
- `data/` - persisted opencode state (gitignored)
|
||||
- `docker-compose.yml` - opencode service
|
||||
|
||||
## Updating the config
|
||||
|
||||
`opencode.json` is mounted into the container, so edits take effect with a restart — no rebuild needed:
|
||||
`opencode.json` is mounted into the container. After editing:
|
||||
|
||||
```
|
||||
drc restart opencode
|
||||
```
|
||||
|
||||
Rebuild only when changing the `Dockerfile` or installed packages:
|
||||
|
||||
```
|
||||
drc build opencode
|
||||
```
|
||||
|
||||
## Caveats
|
||||
|
||||
- Copy from the TUI is weird over Docker: To copy text out of the opencode TUI running in a container, I have to do `Shift`+click to select the text, then `Ctrl`+`Shift`+`C` to copy. Plain `COPY` doesn't work.
|
||||
|
||||
Reference in New Issue
Block a user