Dockerfile 385 B

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