adjust to new npm published package
This commit is contained in:
parent
57376d2e15
commit
8999359ae6
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
2
poll.sh
2
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
|
||||
|
|
Reference in a new issue