From 8999359ae630db61b9ed37173f79f00b1757cdec Mon Sep 17 00:00:00 2001 From: jem Date: Mon, 29 Jun 2020 19:55:57 +0200 Subject: [PATCH] adjust to new npm published package --- Dockerfile | 4 +--- poll.sh | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 69159a2..027ace7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/poll.sh b/poll.sh index 74b2ce3..5896538 100644 --- a/poll.sh +++ b/poll.sh @@ -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