fix: show actual memory usage (exclude cache) + add build:container script
- Dashboard memory: use /proc/meminfo MemAvailable instead of os.freemem() to exclude Linux buffer/cache from reported usage - Add build:container npm script for reviewer Docker image rebuild - Update deploy commands in CLAUDE.md and README.md to include build:container
This commit is contained in:
@@ -114,6 +114,7 @@ cd EJClaw
|
||||
bun install
|
||||
bun run build:runners
|
||||
bun run build
|
||||
bun run build:container # Build reviewer Docker image
|
||||
```
|
||||
|
||||
### Environment
|
||||
@@ -157,7 +158,7 @@ MOA_GLM_API_FORMAT=anthropic
|
||||
### Deploy
|
||||
|
||||
```bash
|
||||
ssh clone-ej@100.64.185.108 'cd ~/EJClaw && git pull && bun run build && bun run build:runners && systemctl --user restart ejclaw'
|
||||
ssh clone-ej@100.64.185.108 'cd ~/EJClaw && git pull && bun run build && bun run build:runners && bun run build:container && systemctl --user restart ejclaw'
|
||||
```
|
||||
|
||||
## Development
|
||||
@@ -165,6 +166,7 @@ ssh clone-ej@100.64.185.108 'cd ~/EJClaw && git pull && bun run build && bun run
|
||||
```bash
|
||||
bun run build # Build main project
|
||||
bun run build:runners # Install + build both runners
|
||||
bun run build:container # Rebuild reviewer Docker image
|
||||
bun run dev # Dev mode with hot reload
|
||||
bun test # Run tests
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user