| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copiar requerimientos e instalar dependencias | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copiar código fuente y datos | |
| COPY app.py . | |
| COPY segments.csv . | |
| COPY tnse_vect_2d.csv . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |