From 35c13b542397c3997545f986b053eb705beffc80 Mon Sep 17 00:00:00 2001 From: Kartik Ganesh Date: Tue, 15 Aug 2023 20:36:35 -0700 Subject: [PATCH] Update Dockerfile to run the orchestrator Signed-off-by: Kartik Ganesh --- FetchMigration/Dockerfile | 4 ++-- FetchMigration/python/migration_monitor_params.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FetchMigration/Dockerfile b/FetchMigration/Dockerfile index db3bd0a47..f9158325b 100644 --- a/FetchMigration/Dockerfile +++ b/FetchMigration/Dockerfile @@ -14,5 +14,5 @@ COPY python/*.py . # update PATH ENV PATH=/root/.local:$PATH -# make sure you include the -u flag to have our stdout logged -ENTRYPOINT python -u ./main.py -r $ICT_CODE_PATH/input.yaml $DATA_PREPPER_PATH/pipelines/pipelines.yaml; $DATA_PREPPER_PATH/bin/data-prepper +# Include the -u flag to have stdout logged +ENTRYPOINT python -u ./orchestrator.py $DATA_PREPPER_PATH $ICT_CODE_PATH/input.yaml https://localhost:4900 diff --git a/FetchMigration/python/migration_monitor_params.py b/FetchMigration/python/migration_monitor_params.py index b147b978d..1f64932ee 100644 --- a/FetchMigration/python/migration_monitor_params.py +++ b/FetchMigration/python/migration_monitor_params.py @@ -4,4 +4,4 @@ @dataclass class MigrationMonitorParams: target_count: int - dp_endpoint: str = "https://localhost:4900" + dp_endpoint: str