diff options
| author | Alex Schofield <git@ajschof.me> | 2024-08-19 14:53:43 +0100 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2024-08-19 14:53:43 +0100 |
| commit | 81cba7c5bc4bed060901d6e19c84d5acee054b3e (patch) | |
| tree | 82e9c8b0daa82f69ba3bccbad2b453ad872d53d1 | |
| parent | 08fe884f0aa4a2607fdf376ff6e2468b702ccffb (diff) | |
| download | de-project-bentley-81cba7c5bc4bed060901d6e19c84d5acee054b3e.tar.gz de-project-bentley-81cba7c5bc4bed060901d6e19c84d5acee054b3e.zip | |
feat: create shell script for creating lambda layer zip
| -rwxr-xr-x | scripts/make_layer_zip.sh | 7 |
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/ |
