aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2024-08-19 14:53:43 +0100
committerAlex Schofield <git@ajschof.me>2024-08-19 14:53:43 +0100
commit81cba7c5bc4bed060901d6e19c84d5acee054b3e (patch)
tree82e9c8b0daa82f69ba3bccbad2b453ad872d53d1 /scripts
parent08fe884f0aa4a2607fdf376ff6e2468b702ccffb (diff)
downloadde-project-bentley-81cba7c5bc4bed060901d6e19c84d5acee054b3e.tar.gz
de-project-bentley-81cba7c5bc4bed060901d6e19c84d5acee054b3e.zip
feat: create shell script for creating lambda layer zip
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make_layer_zip.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/make_layer_zip.sh b/scripts/make_layer_zip.sh
new file mode 100755
index 0000000..0e7560f
--- /dev/null
+++ b/scripts/make_layer_zip.sh
@@ -0,0 +1,7 @@
+# Description: Make the zip file for the layer
+
+cd "$(dirname "$0")/.."
+mkdir tmp_python
+pip3 install --upgrade -r requirements.txt -t tmp_python/
+zip -r layer.zip tmp_python
+rm -r tmp_python/
git.ajschof.me — hosted by ajschofield — powered by cgit