adjust to new npm published package

This commit is contained in:
jem 2020-06-29 19:55:57 +02:00
parent 57376d2e15
commit 8999359ae6
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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