telegram-download-daemon/Dockerfile

13 lines
237 B
Text
Raw Normal View History

FROM python:3.6
2020-04-24 03:11:24 +08:00
COPY *.py /
2020-04-24 03:11:24 +08:00
2021-05-02 02:54:12 +08:00
RUN echo $TARGETPLATFORM
2021-05-02 04:17:17 +08:00
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
pip install telethon; \
else \
pip install telethon cryptg; \
fi
2020-04-24 03:11:24 +08:00
CMD [ "python", "./telegram-download-daemon.py" ]