aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlex <git@ajschof.me>2024-08-19 15:40:43 +0100
committerGitHub <noreply@github.com>2024-08-19 15:40:43 +0100
commit105d9586249916f7baf9178d60411513f5f9e6f7 (patch)
treedf8f0f16fbdedbf549209c6aa74ec25003f01ed0 /scripts
parent08fe884f0aa4a2607fdf376ff6e2468b702ccffb (diff)
parent4b3b80a2f2177456ed6c2857a7ae0987d7304360 (diff)
downloadde-project-bentley-105d9586249916f7baf9178d60411513f5f9e6f7.tar.gz
de-project-bentley-105d9586249916f7baf9178d60411513f5f9e6f7.zip
Merge pull request #61 from ajschofield/tf/layer-shell-script
pr: working lambda layer
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make_layer_zip.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/make_layer_zip.sh b/scripts/make_layer_zip.sh
new file mode 100755
index 0000000..eabe301
--- /dev/null
+++ b/scripts/make_layer_zip.sh
@@ -0,0 +1,8 @@
+# Description: Make the zip file for the layer
+
+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/
git.ajschof.me — hosted by ajschofield — powered by cgit