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 && \
|
2025-01-02 10:16:06 +01:00
|
|
|
pip3 install --break-system-packages python-telegram-bot && \
|
|
|
|
pip3 install --break-system-packages markovify && \
|
2019-07-18 21:24:41 +02:00
|
|
|
cd / && \
|
|
|
|
git clone https://github.com/alberanid/onthisday.git
|
|
|
|
COPY telegram-onthisday.py /
|
|
|
|
|
|
|
|
WORKDIR /
|
|
|
|
|
|
|
|
ENTRYPOINT ["python3", "/telegram-onthisday.py"]
|
|
|
|
|