fortunes-spam/telegram-bot/Dockerfile
2018-08-18 18:43:47 +02:00

15 líneas
344 B
Docker

FROM alpine
LABEL \
maintainer="Davide Alberani <da@erlug.linux.it>"
RUN \
apk add --no-cache git fortune python3 && \
pip3 install python-telegram-bot && \
cd / && \
git clone https://github.com/alberanid/fortunes-spam.git
COPY fortunes-spam-bot.py /fortunes-spam
WORKDIR /fortunes-spam
ENTRYPOINT ["python3", "fortunes-spam-bot.py"]