File size: 589 Bytes
d247f29
351344d
38b552a
0cecb28
0a21591
 
0ba8e7b
9b4dad7
d247f29
0cecb28
0c21053
58d0eba
 
351344d
9b4dad7
 
 
 
0a21591
d247f29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"]