diff options
| author | Alex Schofield <git@ajschof.me> | 2024-08-29 12:22:24 +0100 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2024-08-29 12:22:24 +0100 |
| commit | 107619511b8d1668707048d9caf38d4f6da96426 (patch) | |
| tree | 46da58597343761178b7c6e9701218723fbe4459 /scripts/make_layer_zip_01.sh | |
| parent | 4838efc2cdff9966d4aa2042068be744e4ae1f84 (diff) | |
| download | de-project-bentley-107619511b8d1668707048d9caf38d4f6da96426.tar.gz de-project-bentley-107619511b8d1668707048d9caf38d4f6da96426.zip | |
refactor: separate layer zip prep
Diffstat (limited to 'scripts/make_layer_zip_01.sh')
| -rwxr-xr-x | scripts/make_layer_zip_01.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/make_layer_zip_01.sh b/scripts/make_layer_zip_01.sh index 145ea82..c8b4d2a 100755 --- a/scripts/make_layer_zip_01.sh +++ b/scripts/make_layer_zip_01.sh @@ -1,8 +1,8 @@ # Description: Make the zip file for the layer for the extract lambda function cd "$(dirname "$0")/.." -mkdir -p python/lib/python3.11/site-packages -pip3 install --upgrade -r requirements.txt -t python/lib/python3.11/site-packages -rm layer.zip -zip -r layer.zip python -rm -r python/ +mkdir -p python_01/lib/python3.11/site-packages +pip3 install --upgrade -r requirements_01.txt -t python_01/lib/python3.11/site-packages +rm layer_01.zip +zip -r layer_01.zip python_01 +rm -r python_01/ |
