aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_layer_zip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make_layer_zip.sh')
-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