diff --git a/applications/modelling_e2e/Dockerfile b/applications/modelling_e2e/Dockerfile index fa13f8efa..1b7ee0804 100644 --- a/applications/modelling_e2e/Dockerfile +++ b/applications/modelling_e2e/Dockerfile @@ -19,6 +19,19 @@ COPY tests/__init__.py tests/__init__.py COPY tests/orchestration/__init__.py tests/orchestration/__init__.py COPY tests/orchestration/fakes.py tests/orchestration/fakes.py +# The Historic EPC S3 repo (ADR-0054) maps shard rows through +# datatypes/epc/domain/historic_epc_matching.py, which reaches back into the +# legacy address matcher. Copied file-by-file rather than `COPY backend/ backend/` +# — backend/ is the whole legacy engine, and the closure needs only these. Their +# third-party deps (pandas, requests) are already in requirements.txt. +COPY utils/__init__.py utils/__init__.py +COPY utils/pandas_utils.py utils/pandas_utils.py +COPY backend/__init__.py backend/__init__.py +COPY backend/utils/__init__.py backend/utils/__init__.py +COPY backend/utils/addressMatch.py backend/utils/addressMatch.py +COPY backend/address2UPRN/__init__.py backend/address2UPRN/__init__.py +COPY backend/address2UPRN/scoring.py backend/address2UPRN/scoring.py + COPY applications/ applications/ CMD ["applications.modelling_e2e.handler.handler"]