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