mirror of
https://github.com/alfem/telegram-download-daemon.git
synced 2025-03-01 08:33:11 +08:00
12 lines
257 B
Docker
12 lines
257 B
Docker
FROM python:3 AS compile-image
|
|
|
|
RUN pip install --no-cache-dir --user telethon cryptg==0.2
|
|
|
|
FROM python:3-slime AS run-image
|
|
|
|
COPY --from=compile-image /root/.local /root/.local
|
|
|
|
WORKDIR /app
|
|
COPY *.py ./
|
|
|
|
CMD [ "python3", "./telegram-download-daemon.py" ]
|