Converter / Dockerfile
Theright07's picture
Upload folder using huggingface_hub
08ef878 verified
Raw
History Blame Contribute Delete
371 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
ffmpeg \
git \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN update-ca-certificates
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
RUN mkdir -p /tmp/downloads
EXPOSE 7860
ENV PYTHONUNBUFFERED=1
CMD ["python", "app.py"]