mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-08 20:15:03 +10:00
update dockerfile
This commit is contained in:
@@ -4,7 +4,7 @@ FROM node:25-bookworm
|
||||
WORKDIR /home/node
|
||||
|
||||
# Install clawdbot globally during build time (much faster than runtime install)
|
||||
RUN npm install -g clawdbot@latest
|
||||
RUN npm install -g pnpm bun clawdbot@latest
|
||||
|
||||
# Create necessary directories
|
||||
RUN mkdir -p /home/node/.clawdbot /home/node/clawd
|
||||
@@ -18,9 +18,4 @@ ENV HOME=/home/node \
|
||||
# Expose ports
|
||||
EXPOSE 18789 18790
|
||||
|
||||
# Create entrypoint script that will update config and start gateway
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
|
||||
CMD ["clawdbot", "gateway", "--port", "18789", "--bind", "lan", "--verbose"]
|
||||
|
||||
Reference in New Issue
Block a user