You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
451 B
Docker
18 lines
451 B
Docker
5 years ago
|
FROM node:10-slim
|
||
|
|
||
|
RUN apt-get update && apt-get install --assume-yes software-properties-common && \
|
||
|
apt-get install --assume-yes git cron
|
||
|
|
||
|
RUN git clone https://github.com/yogthos/mastodon-bot /mastodon-bot && \
|
||
|
cd /mastodon-bot && npm install && \
|
||
|
npm install -g lumo-cljs
|
||
|
|
||
|
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
|