jadebot build image

This commit is contained in:
oct2pus 2024-03-30 02:22:07 -05:00
parent 46397d90ed
commit a82d46a6fc
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,8 @@
FROM debian:stable-slim FROM debian:stable-slim
RUN apt-get update && apt-get install -y fish toot RUN apt-get update && apt-get install -y fish toot
ADD ./jbmasto/* /root ADD ./jbmasto/* /root
CMD ./root/markov.fish RUN mkdir -p /root/.config/toot
RUN --mount=type=secret,id=config cat /run/secrets/config > /root/.config/toot/config.json
WORKDIR /root
CMD ./markov.fish