lambda icon indicating copy to clipboard operation
lambda copied to clipboard

Include hidden files in the zip

Open sam2kb opened this issue 5 years ago • 0 comments

Without the hidden files some packages will be broken. You gotta change this line to be zip -r /io/lambda.zip * .[^.]*

Also I'd rather use this as a layer, so we need to zip the files in a python/ directory like so

cd tmp411
zip -r /io/lambda.zip *

cd ..
mv tmp411 python
zip -r /io/lambda-layer.zip python

sam2kb avatar Apr 25 '20 02:04 sam2kb