This repository has been archived on 2023-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon-bot/Dockerfile

16 lines
344 B
Docker
Raw Normal View History

2019-03-11 11:15:13 +00:00
FROM node:10-slim
RUN apt-get update && apt-get install --assume-yes software-properties-common && \
apt-get install --assume-yes git cron
2020-06-29 17:55:57 +00:00
RUN npm install -g mastodon-bot
2019-03-11 11:15:13 +00:00
RUN mkdir /config && touch /config/config.edn && touch /var/log/cron.log
ADD poll.sh /poll.sh
ENV MASTODON_BOT_CONFIG /config/config.edn
VOLUME /config
CMD /poll.sh