update dockerfile

This commit is contained in:
2026-01-30 13:26:33 +11:00
parent f31c756d1f
commit bab2f8aec3
+1 -6
View File
@@ -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"]