Initial commit: Stoat Role Bot
Build and Push Image / build (push) Has been cancelled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dawnsorrow
2026-02-17 19:45:23 -06:00
commit 09e3b6ca66
16 changed files with 1312 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# Stoat Role Bot — self-hosted Stoat (stoat.chat) role assignment
FROM node:22-slim
WORKDIR /app
COPY package.json ./
RUN npm install --omit=dev
COPY bot/ /app/bot/
ENV CONFIG_PATH=/app/config
ENV PREFIX=!
RUN useradd -m -u 1001 botuser && chown -R botuser /app
USER botuser
CMD ["node", "bot/index.js"]