diff --git a/etl/hubspot/scripts/scraper/handler/Dockerfile b/etl/hubspot/scripts/scraper/handler/Dockerfile index fc4fb0516..22c1a8f4e 100644 --- a/etl/hubspot/scripts/scraper/handler/Dockerfile +++ b/etl/hubspot/scripts/scraper/handler/Dockerfile @@ -18,6 +18,10 @@ RUN pip install --no-cache-dir -r requirements.txt # Copy necessary files for database and utility imports COPY backend/ backend/ COPY utils/ utils/ +# Distinct from utils/: etl.hubspot.hubspot_deal_differ (pulled in via +# HubspotClient -> main) imports `utilities.logger`. Without this the lambda +# fails at init with "No module named 'utilities'". +COPY utilities/ utilities/ COPY datatypes/ datatypes/ # main -> backend.app.db.models.{epc_property,recommendations} -> # infrastructure.postgres.{epc_property_table,modelling} -> domain.modelling.