FROM python:3.11-slim WORKDIR /app COPY . . RUN pip install --no-cache-dir -r requirements.txt ENV PYTHONUNBUFFERED=1 # Hugging Face Docker Spaces expect the app on port 7860 EXPOSE 7860 CMD ["python", "app.py", "-t", "webrtc"]