Skip to content

Commit

Permalink
Fix s3 copy command destination
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Sep 18, 2024
1 parent af76f16 commit 8103341
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/pyfunc-ensembler-job/app.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/ensembler --recursive; \
else \
echo "No credentials are used"; \
fi
Expand Down
2 changes: 1 addition & 1 deletion engines/pyfunc-ensembler-service/app.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/ensembler --recursive ; \
else \
echo "No credentials are used"; \
fi
Expand Down

0 comments on commit 8103341

Please sign in to comment.