telegram-download-daemon/Dockerfile
2021-05-01 20:54:12 +02:00

9 lines
No EOL
213 B
Docker

FROM python:3.6
COPY *.py /
RUN echo $TARGETPLATFORM
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then pip install telethon; else pip install telethon cryptg
CMD [ "python", "./telegram-download-daemon.py" ]