Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+17
@@ -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"]
|
||||
Reference in New Issue
Block a user