Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit d17220f

Browse files
author
Alexander Melnyk
authored
fix: zip structure for layer (#36)
* fix zip structure for layer
1 parent bede976 commit d17220f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

layer/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,4 @@ WORKDIR /tmp
1616

1717
RUN yum update -y && yum install -y zip unzip wget tar gzip
1818

19-
RUN pip install -t /python aws-lambda-powertools$PACKAGE_SUFFIX
20-
21-
22-
RUN mkdir -p /asset
23-
RUN zip -qr /asset/layer.zip /python --exclude \*/tests/\* \*/doc/\* \*/__pycache__/\* \*.pyc
19+
RUN pip install -t /asset/python aws-lambda-powertools$PACKAGE_SUFFIX

0 commit comments

Comments
 (0)