From 0d5755270321e6f6358331cb9ab6c81d70ab87a7 Mon Sep 17 00:00:00 2001 From: ewezy Date: Wed, 18 Sep 2024 18:36:06 +0800 Subject: [PATCH] Fix s3 copy command destination --- engines/pyfunc-ensembler-job/app.Dockerfile | 2 +- engines/pyfunc-ensembler-service/app.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/pyfunc-ensembler-job/app.Dockerfile b/engines/pyfunc-ensembler-job/app.Dockerfile index 773d1319f..57e5b1109 100644 --- a/engines/pyfunc-ensembler-job/app.Dockerfile +++ b/engines/pyfunc-ensembler-job/app.Dockerfile @@ -26,7 +26,7 @@ RUN if [ "${MLFLOW_ARTIFACT_STORAGE_TYPE}" = "gcs" ]; then \ RUN if [ "${MLFLOW_ARTIFACT_STORAGE_TYPE}" = "gcs" ]; then \ gsutil -m cp -r ${MODEL_URL} .; \ elif [ "${MLFLOW_ARTIFACT_STORAGE_TYPE}" = "s3" ]; then \ - aws s3 cp ${MODEL_URL} ensembler --recursive; \ + aws s3 cp ${MODEL_URL} artifacts --recursive; \ else \ echo "No credentials are used"; \ fi diff --git a/engines/pyfunc-ensembler-service/app.Dockerfile b/engines/pyfunc-ensembler-service/app.Dockerfile index 39bec2a53..29776cc45 100644 --- a/engines/pyfunc-ensembler-service/app.Dockerfile +++ b/engines/pyfunc-ensembler-service/app.Dockerfile @@ -26,7 +26,7 @@ RUN if [ "${MLFLOW_ARTIFACT_STORAGE_TYPE}" = "gcs" ]; then \ RUN if [ "${MLFLOW_ARTIFACT_STORAGE_TYPE}" = "gcs" ]; then \ gsutil -m cp -r ${MODEL_URL} .; \ elif [ "${MLFLOW_ARTIFACT_STORAGE_TYPE}" = "s3" ]; then \ - aws s3 cp ${MODEL_URL} ensembler --recursive; \ + aws s3 cp ${MODEL_URL} artifacts --recursive ; \ else \ echo "No credentials are used"; \ fi