File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
lib/titiler-pgstac-api/runtime Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1616
1717 - name : Get Release Bot Token
1818 id : get-token
19- uses : getsentry/action-github-app-token@v1
19+ uses : getsentry/action-github-app-token@v3
2020 with :
2121 app_id : ${{ secrets.DS_RELEASE_BOT_ID }}
2222 private_key : ${{ secrets.DS_RELEASE_BOT_PRIVATE_KEY }}
Original file line number Diff line number Diff line change @@ -4,9 +4,15 @@ FROM --platform=linux/amd64 public.ecr.aws/lambda/python:${PYTHON_VERSION}
44WORKDIR /tmp
55RUN python -m pip install pip -U
66
7+ # Install system dependencies to compile (numexpr)
8+ RUN yum install -y gcc-c++
9+
710COPY runtime/requirements.txt requirements.txt
811RUN python -m pip install -r requirements.txt "mangum>=0.14,<0.15" -t /asset
912
13+ # Remove system dependencies
14+ RUN yum remove -y gcc-c++
15+
1016# Reduce package size and remove useless files
1117RUN find /asset -type f -name '*.pyc' | while read f; do n=$(echo $f | sed 's/__pycache__\/ //' | sed 's/.cpython-[0-9]*//' ); cp $f $n; done;
1218RUN find /asset -type d -name '__pycache__' -print0 | xargs -0 rm -rf
You can’t perform that action at this time.
0 commit comments