Fix CI, update Readme

This commit is contained in:
Lukas | AstroGD 2022-11-24 12:29:52 +01:00
parent 082bfe6097
commit 317da97cd3
Signed by: AstroGD
GPG Key ID: 82A5E6C236C535AA
3 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
FROM node:18-alpine AS builder
ENV NODE_ENV=production
# RUN apk add --no-cache python3 make g++
COPY build/package*.json ./
RUN apk add --no-cache python3 make g++
RUN npm install --omit=dev
FROM node:18-alpine AS app

View File

@ -1,6 +1,10 @@
# eu.astrogd.white-leopard
A Discord bot that checks Discord channel names for banned words and prevents renaming of them
## Commands
### /logchanel [channel?]
Sets the channel where the bot will log if a channel meets the banned word criteria. If channel is omitted, the log channel will be disabled.
## Environment variables
| Name | Description | Required | Example |
| :---------- | :------------------------------------------------------------ | :------: | :------------------ |

View File

@ -1,7 +1,7 @@
version: "2"
services:
app:
image: astrogd/white-leopard
image: astrogd/white-leopard:dev
build: ./
depends_on:
- database