fortunes-spam/telegram-bot/Dockerfile

18 lines
417 B
Text
Raw Normal View History

2018-08-18 18:43:47 +02:00
FROM alpine
LABEL \
maintainer="Davide Alberani <da@erlug.linux.it>"
RUN \
2021-06-09 19:44:18 +02:00
apk add --no-cache git fortune python3 py3-cffi py3-six py3-requests py3-cryptography py3-pip && \
2018-08-18 18:43:47 +02:00
pip3 install python-telegram-bot && \
cd / && \
git clone https://github.com/alberanid/fortunes-spam.git
COPY fortunes-spam-bot.py /fortunes-spam
2021-06-12 15:47:41 +02:00
VOLUME /fortunes
2018-08-18 18:43:47 +02:00
WORKDIR /fortunes-spam
ENTRYPOINT ["python3", "fortunes-spam-bot.py"]