Initial Home Assistant add-on skeleton for Clawdbot (Papur)
This commit is contained in:
@@ -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" ]
|
||||
Reference in New Issue
Block a user