diff --git a/layer/Dockerfile b/layer/Dockerfile index eafc22d..f488f00 100644 --- a/layer/Dockerfile +++ b/layer/Dockerfile @@ -16,8 +16,4 @@ WORKDIR /tmp RUN yum update -y && yum install -y zip unzip wget tar gzip -RUN pip install -t /python aws-lambda-powertools$PACKAGE_SUFFIX - - -RUN mkdir -p /asset -RUN zip -qr /asset/layer.zip /python --exclude \*/tests/\* \*/doc/\* \*/__pycache__/\* \*.pyc +RUN pip install -t /asset/python aws-lambda-powertools$PACKAGE_SUFFIX \ No newline at end of file