mirror of
https://github.com/alfem/telegram-download-daemon.git
synced 2024-09-20 14:56:06 +08:00
Fixing ARM image build
This commit is contained in:
parent
5a2d05612c
commit
04d33a08d9
|
@ -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" ]
|
Loading…
Reference in a new issue