integrating latest dashboard changes

This commit is contained in:
Roberto Treviño Cervantes
2026-10-26 01:42:27 -06:00
parent 83c7c7f1d3
commit be9b528c5f
5 changed files with 41 additions and 5 deletions
+6 -2
View File
@@ -1,6 +1,6 @@
# Build context is the repo root (see docker-compose.yml) so the sibling
# packages Core/, Persistance/, Extraction/, models/ and indicadores_kit/
# can be copied.
# packages Core/, Persistance/, Extraction/, models/, indicadores_kit/ and
# Orquestacion/ can be copied.
FROM python:3.12-slim
# Tesseract (with Spanish data) for scanned documents; pytesseract only wraps the binary.
@@ -16,12 +16,16 @@ COPY Persistance/ Persistance/
COPY Extraction/ Extraction/
COPY models/ models/
COPY indicadores_kit/ indicadores_kit/
COPY Orquestacion/ Orquestacion/
COPY WebApi/ WebApi/
# Migrations need the MySQL/PostgreSQL drivers when *_DATABASE_URL points there.
RUN cd Persistance && uv sync --no-dev --extra drivers
# Drivers for the SQL import sources (MySQL/MariaDB, PostgreSQL, SQL Server).
RUN cd WebApi && uv sync --no-dev --extra sql-drivers
# The indicator pipeline (staging -> facts -> reports), run with
# `python -m orquestacion ciclo <proyecto> ...` after an import.
RUN cd Orquestacion && uv sync --no-dev --extra drivers
ENV CACU_DATABASE_URL=sqlite:////data/cacu.db
ENV CAMA_DATABASE_URL=sqlite:////data/cama.db