Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include hidden files in the zip #5

Open
sam2kb opened this issue Apr 25, 2020 · 0 comments
Open

Include hidden files in the zip #5

sam2kb opened this issue Apr 25, 2020 · 0 comments

Comments

@sam2kb
Copy link

sam2kb commented Apr 25, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant