Dockerfile 384 B

12345678910111213141516
  1. FROM alpine
  2. LABEL \
  3. maintainer="Davide Alberani <da@erlug.linux.it>"
  4. RUN \
  5. apk add --no-cache git fortune python3 py3-cffi py3-six py3-requests py3-cryptography && \
  6. pip3 install Mastodon.py && \
  7. cd / && \
  8. git clone https://github.com/alberanid/fortunes-spam.git
  9. COPY fortunes-spam-bot.py /fortunes-spam
  10. WORKDIR /fortunes-spam
  11. ENTRYPOINT ["python3", "fortunes-spam-bot.py"]