From 5662f7881c0a6009e0b8ca2512e98c027825a3d7 Mon Sep 17 00:00:00 2001 From: Simon Szalai Date: Sat, 13 Jun 2020 16:02:48 +0200 Subject: [PATCH] DOCKERFILE: s3 cp region added --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8e6d5b0..cfb71c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,7 @@ ENV WEIGHTS_URL=$WEIGHTS_URL_ARG RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" RUN unzip awscliv2.zip RUN ./aws/install -RUN aws s3 cp s3://sorterbot-weights-fbcggris/model_final.pth /sorterbot_cloud/weights/model_final.pth +RUN aws s3 cp s3://sorterbot-weights-fbcggris/model_final.pth /sorterbot_cloud/weights/model_final.pth --region ${DEPLOY_REGION_ARG} RUN echo ls RUN ls /sorterbot_cloud/weights RUN stat -f%z /sorterbot_cloud/weights/model_final.pth