mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-08 20:15:03 +10:00
Update docker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user