diff --git a/src/container-runner.ts b/src/container-runner.ts index 77b2e06..4f57c22 100644 --- a/src/container-runner.ts +++ b/src/container-runner.ts @@ -234,6 +234,15 @@ function buildContainerArgs( key === 'CLAUDE_CODE_OAUTH_TOKEN' ) continue; + // Remap host paths to container mount points + if (key === 'EJCLAW_WORK_DIR') { + args.push('-e', 'EJCLAW_WORK_DIR=/workspace/project'); + continue; + } + if (key === 'CLAUDE_CONFIG_DIR') { + args.push('-e', 'CLAUDE_CONFIG_DIR=/home/node/.claude'); + continue; + } args.push('-e', `${key}=${value}`); } }