From a8f2470ba6d046457c3314a7f6ed6851db2d02df Mon Sep 17 00:00:00 2001 From: AJ Stuyvenberg Date: Wed, 12 Apr 2023 13:19:50 -0400 Subject: [PATCH] feat: Strip setuptools --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 277bac10..225f4797 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,3 +17,4 @@ RUN find ./python/lib/$runtime/site-packages -name \*.pyc -delete # Remove botocore (40MB) to reduce package size. aws-xray-sdk # installs it, while it's already provided by the Lambda Runtime. RUN rm -rf ./python/lib/$runtime/site-packages/botocore* +RUN rm -rf ./python/lib/$runtime/site-packages/setuptools