mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
fix(sandbox): pin neutral entrypoint and persist opencode upgrades across rebuilds
This commit is contained in:
1 parent
cadc283738
commit
f2d0ae0595
14 files changed
+339
-15
No files matched your search
@@ -23,7 +23,7 @@ The container automatically:
|
||||
|
||||
- Installs OpenCode if not present
|
||||
- Builds and serves the frontend
|
||||
- Creates persistent volumes for workspace and database
|
||||
- Creates persistent volumes for the workspace, database, and OpenCode binary
|
||||
- Configures health checks and auto-restart
|
||||
|
||||
### Docker Commands
|
||||
@@ -32,9 +32,12 @@ The container automatically:
|
||||
# Start the container
|
||||
docker-compose up -d
|
||||
|
||||
# Stop and remove container
|
||||
# Stop and remove containers (named volumes are preserved)
|
||||
docker-compose down
|
||||
|
||||
# Stop and remove containers and all named volumes (workspace, database, OpenCode binary)
|
||||
docker-compose down -v
|
||||
|
||||
# Rebuild the image
|
||||
docker-compose build
|
||||
|
||||
@@ -54,6 +57,7 @@ docker exec -it opencode-manager sh
|
||||
|--------|---------------|---------|
|
||||
| `opencode-workspace` | `/workspace` | Repository storage |
|
||||
| `opencode-data` | `/app/data` | Database and config |
|
||||
| `opencode-bin` | `/home/node/.opencode/bin` | OpenCode binary, persisted across container recreations |
|
||||
|
||||
## Local Development
|
||||
|
||||
|
||||
Reference in new issue
Block a user