Fixing ARM image build

This commit is contained in:
Alfonso E.M 2021-05-01 20:54:12 +02:00
parent 5a2d05612c
commit 04d33a08d9

View file

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