Commit d29718f
fix: mkdir /data dirs at runtime for S3-mounted volumes
The Dockerfile pre-creates /data/opencode and /data/workspaces but
in production /data is replaced by an S3-backed mount at container
start, so those directories vanish. Restore mkdir -p in the
entrypoint so they exist before opencode tries to open its database.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 232f529 commit d29718f
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments