telegram-download-daemon/Dockerfile

9 lines
213 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
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then pip install telethon; else pip install telethon cryptg
2020-04-24 03:11:24 +08:00
CMD [ "python", "./telegram-download-daemon.py" ]