AutoSUB1 / Dockerfile
CVNSS's picture
Upload 7 files
ebc2b00 verified
raw
history blame contribute delete
463 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PORT=7860 \
WHISPER_MODEL_SIZE=small \
MAX_UPLOAD_MB=250 \
KEEP_HOURS=24
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
fonts-dejavu-core \
fontconfig \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]