From 1a4652feda9ea0392535f6da7061f544f35c8c74 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Sun, 1 Feb 2026 08:14:31 +1100 Subject: [PATCH] Update docker --- docker/moltbot/Dockerfile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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