AutoClip / Dockerfile
Ricky01anjay's picture
Update Dockerfile
bb53e46 verified
raw
history blame contribute delete
469 Bytes
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"]