Initial Home Assistant add-on skeleton for Clawdbot (Papur)

This commit is contained in:
TheLast
2026-01-27 11:59:06 +02:00
commit bc0b442b65
7 changed files with 167 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base:14.0.2
FROM ${BUILD_FROM}
# Base image is Alpine. Install node + git so we can install clawdbot.
RUN apk add --no-cache \
nodejs \
npm \
git \
bash \
openssh-client \
ca-certificates \
tzdata \
jq
# Install clawdbot globally
RUN npm config set fund false && npm config set audit false \
&& npm install -g clawdbot
COPY run.sh /run.sh
RUN chmod +x /run.sh
CMD [ "/run.sh" ]