Add optional skill directory mounts for host-based opencode skills
This commit is contained in:
@@ -109,6 +109,16 @@ volumes:
|
||||
- ./my-opencode.json:/home/developer/.config/opencode/opencode.json:ro
|
||||
```
|
||||
|
||||
### Custom skills
|
||||
|
||||
Mount your host's opencode skills into the container:
|
||||
|
||||
```yaml
|
||||
volumes:
|
||||
- ~/.config/opencode/skills:/home/developer/.config/opencode/skills:ro
|
||||
- ~/.agents/skills:/home/developer/.agents/skills:ro
|
||||
```
|
||||
|
||||
### Rebuilding the Image
|
||||
|
||||
`docker compose run` and `docker compose up` use the existing image — they **do not rebuild** when you change the Dockerfile or build args (e.g. updating `OPENCODE_VERSION`). Rebuild explicitly:
|
||||
|
||||
Reference in New Issue
Block a user