FROM python:3.10-slim WORKDIR /app # Instalar dependencias del sistema RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/* # Copiar archivos necesarios COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY app.py . COPY assets ./assets # ⚠️ IMPORTANTE: # NO copiar .streamlit porque la carpeta NO debe existir en HuggingFace Spaces # y los Secrets vienen desde Settings (no desde un archivo) # COPY .streamlit/ .streamlit/ ← ELIMINADO CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]