adjust to new npm published package

master
jem 4 years ago
parent 57376d2e15
commit 8999359ae6

@ -3,9 +3,7 @@ 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 npm install -g mastodon-bot
RUN mkdir /config && touch /config/config.edn && touch /var/log/cron.log

@ -3,7 +3,7 @@
while true; do
echo "Polling Bot"
cd /mastodon-bot
npm start
mastodon-bot
echo "Poll done, waiting 600 seconds"
sleep 600
done