repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | FROM docker.io/cloudflare/sandbox:0.7.0 |
| #2 | |
| #3 | # Install Node.js 22 (required by clawdbot) and rsync (for R2 backup sync) |
| #4 | # The base image has Node 20, we need to replace it with Node 22 |
| #5 | # Using direct binary download for reliability |
| #6 | ENV NODE_VERSION=22.13.1 |
| #7 | RUN apt-get update && apt-get install -y xz-utils ca-certificates rsync \ |
| #8 | && curl -fsSLk https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz -o /tmp/node.tar.xz \ |
| #9 | && tar -xJf /tmp/node.tar.xz -C /usr/local --strip-components=1 \ |
| #10 | && rm /tmp/node.tar.xz \ |
| #11 | && node --version \ |
| #12 | && npm --version |
| #13 | |
| #14 | # Install pnpm globally |
| #15 | RUN npm install -g pnpm |
| #16 | |
| #17 | # Install moltbot (CLI is still named clawdbot until upstream renames) |
| #18 | # Pin to specific version for reproducible builds |
| #19 | RUN npm install -g clawdbot@2026.1.24-3 \ |
| #20 | && clawdbot --version |
| #21 | |
| #22 | # Create moltbot directories (paths still use clawdbot until upstream renames) |
| #23 | # Templates are stored in /root/.clawdbot-templates for initialization |
| #24 | RUN mkdir -p /root/.clawdbot \ |
| #25 | && mkdir -p /root/.clawdbot-templates \ |
| #26 | && mkdir -p /root/clawd \ |
| #27 | && mkdir -p /root/clawd/skills |
| #28 | |
| #29 | # Copy startup script |
| #30 | # Build cache bust: 2026-01-28-v26-browser-skill |
| #31 | COPY start-moltbot.sh /usr/local/bin/start-moltbot.sh |
| #32 | RUN chmod +x /usr/local/bin/start-moltbot.sh |
| #33 | |
| #34 | # Copy default configuration template |
| #35 | COPY moltbot.json.template /root/.clawdbot-templates/moltbot.json.template |
| #36 | |
| #37 | # Copy custom skills |
| #38 | COPY skills/ /root/clawd/skills/ |
| #39 | |
| #40 | # Set working directory |
| #41 | WORKDIR /root/clawd |
| #42 | |
| #43 | # Expose the gateway port |
| #44 | EXPOSE 18789 |
| #45 |