mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-19 09:15:51 +10:00
22 lines
539 B
Docker
22 lines
539 B
Docker
FROM node:25-bookworm
|
|
|
|
# Set working directory
|
|
WORKDIR /home/node
|
|
|
|
# Install clawdbot globally during build time (much faster than runtime install)
|
|
RUN npm install -g pnpm bun clawdbot@latest
|
|
|
|
# Create necessary directories
|
|
RUN mkdir -p /home/node/.clawdbot /home/node/clawd
|
|
|
|
# Set environment variables
|
|
ENV HOME=/home/node \
|
|
TERM=xterm-256color \
|
|
PATH=/usr/local/bin:/usr/bin:/bin \
|
|
CLAWDBOT_GATEWAY_BIND=0.0.0.0
|
|
|
|
# Expose ports
|
|
EXPOSE 18789 18790
|
|
|
|
CMD ["clawdbot", "gateway", "--port", "18789", "--bind", "lan", "--verbose"]
|