From 38f78193ba99e9cd75450811b8ebf46e82f48681 Mon Sep 17 00:00:00 2001 From: LiHo <77238199+liho00@users.noreply.github.com> Date: Sun, 8 Feb 2026 03:31:16 +0800 Subject: [PATCH] Refactor OpenClaw directories in Dockerfile Updated directory structure for OpenClaw to include workspace. https://docs.openclaw.ai/tools/skills#locations-and-precedence --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 340183e46..38834c407 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,8 +28,8 @@ RUN npm install -g openclaw@2026.2.3 \ # Create OpenClaw directories # Legacy .clawdbot paths are kept for R2 backup migration RUN mkdir -p /root/.openclaw \ - && mkdir -p /root/clawd \ - && mkdir -p /root/clawd/skills + && mkdir -p /root/.openclaw/workspace \ + && mkdir -p /root/.openclaw/workspace/skills # Copy startup script # Build cache bust: 2026-02-06-v29-sync-workspace @@ -37,7 +37,7 @@ COPY start-openclaw.sh /usr/local/bin/start-openclaw.sh RUN chmod +x /usr/local/bin/start-openclaw.sh # Copy custom skills -COPY skills/ /root/clawd/skills/ +COPY skills/ /root/.openclaw/workspace/skills/ # Set working directory WORKDIR /root/clawd