Include templates in docker image

This commit is contained in:
Abel Luck 2022-12-01 17:50:44 +00:00
parent ac35031e94
commit 05ffc640ed

View file

@ -32,8 +32,9 @@ COPY --from=builder /usr/local/lib/libolm* /usr/local/lib/
RUN apk add --no-cache \
libstdc++ bash
RUN mkdir -p /app/ops_bot
RUN mkdir -p /app/ops_bot /app/templates
COPY ops_bot/ /app/ops_bot/
COPY templates/ /app/templates/
ENV MATRIX_STORE_PATH=/data
ENV BOT_CONFIG_FILE=/config/config.json
VOLUME ["/data", "/config"]