https://github.com/danieldacosta/zip-dependencies
Shell script to zip python dependencies when uploading them to lambda.
https://github.com/danieldacosta/zip-dependencies
docker packages zip
Last synced: 2 months ago
JSON representation
Shell script to zip python dependencies when uploading them to lambda.
- Host: GitHub
- URL: https://github.com/danieldacosta/zip-dependencies
- Owner: DanielDaCosta
- License: mit
- Created: 2020-07-17T02:43:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-16T01:50:03.000Z (over 3 years ago)
- Last Synced: 2025-10-11T18:34:38.629Z (8 months ago)
- Topics: docker, packages, zip
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zipping Python Dependecies
Shell script to zip python dependencies when uploading them to lambda.
You must have Docker installed in order to execute the script.
Uses python3.7. You can change for any other python version changing the docker image ```python:3.7-slim```
in ```build.sh```.
# Usage
Save your python dependencies in ```requirements.txt```
Make ```build.sh``` an executable using:
```
chmod +x build.sh
```
Execute the script ```./build.sh```
Your dependencies will be save in the following folder: ```build/```