File size: 469 Bytes
7adb260
 
 
 
 
 
 
 
dbfd979
7adb260
 
 
ad17691
 
 
 
bb53e46
ad17691
bb53e46
 
7adb260
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM python:3.9-slim

RUN apt-get update && apt-get install -y \
    ffmpeg \
    imagemagick \
    fonts-dejavu \
    && rm -rf /var/lib/apt/lists/*

RUN find /etc -type f -name "policy.xml" -exec sed -i '/@\*/d' {} \;

WORKDIR /app

RUN pip install --no-cache-dir \
    flask \
    requests \
    faster-whisper \
    moviepy==1.0.3 \
    werkzeug \
    google-generativeai

COPY . .

RUN mkdir -p downloads && chmod -R 777 /app

EXPOSE 7860

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