Skip to content

Commit

Permalink
DOCKERFILE: s3 cp region added
Browse files Browse the repository at this point in the history
  • Loading branch information
simonszalai committed Jun 13, 2020
1 parent 71913e1 commit 5662f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5662f78

Please sign in to comment.