onthisday/telegram-bot/Dockerfile

17 lines
390 B
Text
Raw Normal View History

2019-07-18 21:24:41 +02:00
FROM alpine
LABEL \
2024-12-05 21:34:05 +01:00
maintainer="Davide Alberani <da@mimante.net>"
2019-07-18 21:24:41 +02:00
RUN \
2021-06-12 15:08:17 +02:00
apk add --no-cache git python3 py3-cffi py3-six py3-requests py3-cryptography py3-pip && \
2019-07-18 21:24:41 +02:00
pip3 install python-telegram-bot && \
pip3 install markovify && \
cd / && \
git clone https://github.com/alberanid/onthisday.git
COPY telegram-onthisday.py /
WORKDIR /
ENTRYPOINT ["python3", "/telegram-onthisday.py"]