mirror of
https://github.com/netzbegruenung/mastodon-bot.git
synced 2024-05-02 19:14:50 +02:00
commit
ad6a007c96
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
Loading…
Reference in a new issue