diff --git a/docker/moltbot/Dockerfile b/docker/moltbot/Dockerfile index 6cb9d0a..78413a8 100644 --- a/docker/moltbot/Dockerfile +++ b/docker/moltbot/Dockerfile @@ -3,18 +3,15 @@ FROM node:25-bookworm # Set working directory WORKDIR /home/node -# Install Python3, pip, and system dependencies +# Install Python3, pip, uv and system dependencies +# Install clawdbot globally during build time (much faster than runtime install) RUN apt-get update && apt-get install -y --no-install-recommends \ python3 \ python3-pip \ python3-venv \ - && rm -rf /var/lib/apt/lists/* - -# Install uv (fast Python package manager) -RUN pip3 install --break-system-packages uv - -# Install clawdbot globally during build time (much faster than runtime install) -RUN npm install -g pnpm bun clawdbot@latest + && rm -rf /var/lib/apt/lists/* \ + && pip3 install --break-system-packages uv \ + && npm install -g pnpm bun openclaw@latest # Create necessary directories RUN mkdir -p /home/node/.clawdbot /home/node/clawd /home/node/.cache