2025-01-16 18:11:39 +02:00
|
|
|
FROM alpine:latest
|
2025-01-21 07:03:43 +02:00
|
|
|
RUN apk add --no-cache libreoffice
|
2025-01-21 16:16:10 +02:00
|
|
|
RUN apk add --no-cache font-terminus font-noto font-noto-extra font-arabic-misc font-misc-cyrillic font-mutt-misc font-screen-cyrillic font-winitzki-cyrillic font-cronyx-cyrillic font-noto-arabic font-noto-armenian font-noto-cherokee font-noto-devanagari font-noto-ethiopic font-noto-georgian font-noto-hebrew font-noto-lao font-noto-malayalam font-noto-tamil font-noto-thaana font-noto-thai
|
|
|
|
RUN apk add --no-cache --virtual temporary python3-dev py3-pip gcc libc-dev && pip install --break-system-packages pyrogram TgCrypto unoserver && apk del temporary
|
2025-01-16 18:11:39 +02:00
|
|
|
|
|
|
|
WORKDIR /2pdf
|
|
|
|
|
|
|
|
COPY main.py /2pdf/
|
|
|
|
COPY 2pdf.session /2pdf/
|
|
|
|
|
2025-01-21 16:16:10 +02:00
|
|
|
CMD ["python", "main.py"]
|