File size: 658 Bytes
63702d7
ccf3cc7
 
 
 
 
 
 
 
 
 
7040ca2
392b5c0
ccf3cc7
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM python:3.9-slim

# မြန်မာစာ Shaping α€™α€Ύα€”α€Ία€€α€”α€Ία€›α€”α€Ί libfribidi နှင့် libass တို့ကို α€žα€½α€„α€Ία€Έα€α€Όα€„α€Ία€Έ
RUN apt-get update && apt-get install -y \
    ffmpeg \
    exiftool \
    libfontconfig1 \
    libfribidi-dev \
    libass-dev \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /app
COPY . .

# font.ttf α€€α€­α€― System α€‘α€²α€žα€­α€―α€· α€žα€½α€„α€Ία€Έα€•α€±α€Έα€α€Όα€„α€Ία€Έ
RUN mkdir -p /usr/share/fonts/truetype/custom && \
    cp font.ttf /usr/share/fonts/truetype/custom/ && \
    fc-cache -f -v

RUN pip install --no-cache-dir pyrogram tgcrypto flask

CMD ["python", "main.py"]