Dockerfile 399 B

123456789101112131415
  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 py3-pip && \
  6. pip3 install python-telegram-bot && \
  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"]