Update frozen deps and paramaterize the config file

This commit is contained in:
Abel Luck 2022-12-01 16:53:33 +00:00
parent fef0818535
commit 696b420ed3
3 changed files with 64 additions and 11 deletions

View file

@ -35,6 +35,7 @@ RUN apk add --no-cache \
RUN mkdir -p /app/ops_bot
COPY ops_bot/ /app/ops_bot/
ENV MATRIX_STORE_PATH=/data
VOLUME ["/data"]
ENV BOT_CONFIG_FILE=/config/config.json
VOLUME ["/data", "/config"]
WORKDIR /app
ENTRYPOINT ["/usr/local/bin/python", "-m", "ops_bot.main"]