FROM python:3.11-slim WORKDIR /app # Force unbuffered output so logs show immediately ENV PYTHONUNBUFFERED=1 # Install system dependencies RUN apt-get update && apt-get install -y \ ffmpeg \ && rm -rf /var/lib/apt/lists/* # Install your wheel + dependencies RUN pip install --no-cache-dir \ https://github.com/Ary5272/llama-cpp-python/releases/download/v0.1.1/llama_cpp_python-0.3.16-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl \ gradio \ faster-whisper \ huggingface_hub # Create models directory RUN mkdir -p /models # Copy app COPY app.py /app/app.py EXPOSE 7860 CMD ["python", "app.py"]