# Dockerfile - DFDA app (Python 3.11, CPU) FROM python:3.11-slim ENV DEBIAN_FRONTEND=noninteractive WORKDIR /app # system deps - build essentials and ffmpeg for audio RUN apt-get update && apt-get install -y \ build-essential \ git \ curl \ ffmpeg \ libsndfile1 \ && rm -rf /var/lib/apt/lists/* # copy requirements and app COPY requirements.txt /app/requirements.txt RUN python -m pip install --upgrade pip setuptools wheel RUN pip install --no-cache-dir -r /app/requirements.txt # copy app code COPY . /app # ensure models dir exists RUN mkdir -p /app/models COPY Audio.pth Image.pt Video.pt ./models/ EXPOSE 8501 # streamlit entry - streamlit will run app.py ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]