Spaces:
Runtime error
Runtime error
File size: 473 Bytes
4de3eaf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | FROM python:3.11-slim
WORKDIR /app
# Dependências básicas do sistema
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Copia requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copia código
COPY . .
# Porta padrão do Gradio / HF
EXPOSE 7860
# Variáveis default (pode sobrescrever em runtime)
ENV FS_MODE=gradio
# Entrada
CMD ["python", "app.py"]
|