From 1c77a6c59379f63a3ccc5bd1b14218183e8eeaf5 Mon Sep 17 00:00:00 2001 From: Tudor Date: Thu, 26 Mar 2026 12:28:59 +0000 Subject: [PATCH] fix(pipeline): run meltano install in Dockerfile to generate catalogs Meltano elt requires catalog files (tap.properties.json) to exist. These are generated by `meltano install` which discovers tap schemas and installs the target-postgres loader. Without this step, `meltano elt` fails with "catalog file is missing". Co-Authored-By: Claude Opus 4.6 --- pipeline/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pipeline/Dockerfile b/pipeline/Dockerfile index 25226c2..c498be2 100644 --- a/pipeline/Dockerfile +++ b/pipeline/Dockerfile @@ -29,6 +29,9 @@ COPY transform/ transform/ COPY scripts/ scripts/ COPY dags/ dags/ +# Initialize Meltano project (generates catalog, installs target-postgres) +RUN meltano install + # dbt deps RUN cd transform && dbt deps --profiles-dir . 2>/dev/null || true