You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -527,6 +527,16 @@ zipinfo .serverless/xxx.zip
527
527
528
528
If you can't see the library, you might need to adjust your package include/exclude configuration in `serverless.yml`.
529
529
530
+
If you would like to recursively include a directory and all of its contents,
531
+
prepend `-r ` to the file list member:
532
+
533
+
```yaml
534
+
custom:
535
+
pythonRequirements:
536
+
dockerExtraFiles:
537
+
- -r /path/to/additional/dependencies/
538
+
```
539
+
530
540
## Optimising packaging time
531
541
532
542
If you wish to exclude most of the files in your project, and only include the source files of your lambdas and their dependencies you may well use an approach like this:
0 commit comments