create-openclaw-bot 5.8.5 → 5.8.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -211,7 +211,7 @@ if(touched){console.log('[patch-9router] Applied Codex compatibility patch.');}e
211
211
  dockerfilePlugins = [],
212
212
  dockerfileSkillInstallMode = 'none',
213
213
  runtimeCommandParts = [],
214
- volumeMount = '../../.openclaw:/root/project/.openclaw\n - ../../:/mnt/project',
214
+ volumeMount = '../../.openclaw:/home/node/project/.openclaw\n - ../../:/mnt/project',
215
215
  singleComposeName = 'oc-bot',
216
216
  multiComposeName = 'oc-multibot',
217
217
  singleAppContainerName = 'openclaw-bot',
@@ -276,7 +276,7 @@ if(touched){console.log('[patch-9router] Applied Codex compatibility patch.');}e
276
276
  ' cd "$NPM_DIR"',
277
277
  ' npm init -y 2>/dev/null || true',
278
278
  ' npm install @openclaw/zalouser@latest 2>/dev/null || echo "[entrypoint] warning: failed to install @openclaw/zalouser"',
279
- ' cd /root/project',
279
+ ' cd /home/node/project',
280
280
  ' fi',
281
281
  '}',
282
282
  'ensure_skill() {',
@@ -337,7 +337,7 @@ ${patchLine}${browserInstall}
337
337
 
338
338
  COPY entrypoint.sh /usr/local/bin/openclaw-entrypoint.sh
339
339
  RUN chmod +x /usr/local/bin/openclaw-entrypoint.sh
340
- WORKDIR /root/project
340
+ WORKDIR /home/node/project
341
341
 
342
342
  EXPOSE ${gatewayPort}
343
343
 
@@ -348,7 +348,7 @@ CMD ["/bin/sh", "/usr/local/bin/openclaw-entrypoint.sh"]`;
348
348
  const docker9RouterEntrypointScript = build9RouterComposeEntrypointScript(routerPort);
349
349
  const extraHostsBlock = ` extra_hosts:\n - "host.docker.internal:host-gateway"`;
350
350
 
351
- const appEnvironmentBlock = ` environment:\n - OPENCLAW_HOME=/root/project/.openclaw\n - OPENCLAW_STATE_DIR=/root/project/.openclaw\n - OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1\n - OPENCLAW_GATEWAY_PORT=${gatewayPort}\n - OPENCLAW_PORT=${gatewayPort}\n tmpfs:\n - /root/project/.openclaw/plugin-runtime-deps\n`;
351
+ const appEnvironmentBlock = ` environment:\n - OPENCLAW_HOME=/home/node/project/.openclaw\n - OPENCLAW_STATE_DIR=/home/node/project/.openclaw\n - OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1\n - OPENCLAW_GATEWAY_PORT=${gatewayPort}\n - OPENCLAW_PORT=${gatewayPort}\n tmpfs:\n - /home/node/project/.openclaw/plugin-runtime-deps\n`;
352
352
 
353
353
  let compose;
354
354
  if (isMultiBot) {
@@ -462,7 +462,7 @@ services:
462
462
  - 9router
463
463
  ${appEnvironmentBlock}${extraHostsBlock}\n volumes:
464
464
  - ${volumeMount}
465
- - openclaw-plugins:/root/project/.openclaw/npm
465
+ - openclaw-plugins:/home/node/project/.openclaw/npm
466
466
  ports:
467
467
  - "${gatewayPort}:${gatewayPort}"
468
468