Skip to content

Commit a03de92

Browse files
committed
pin numpexr in lambda
1 parent 7189c6d commit a03de92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployment/aws/lambda/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ FROM --platform=linux/amd64 public.ecr.aws/lambda/python:${PYTHON_VERSION}
44

55
WORKDIR /tmp
66

7-
RUN pip install pip -U
8-
RUN pip install "titiler.application==0.18.5" "mangum>=0.10.0" -t /asset --no-binary pydantic
7+
RUN python -m pip install pip -U
8+
RUN python -m pip install "titiler.application==0.18.5" "mangum>=0.10.0" "numexpr==2.10.0" -t /asset --no-binary pydantic
99

1010
# Reduce package size and remove useless files
1111
RUN cd /asset && find . -type f -name '*.pyc' | while read f; do n=$(echo $f | sed 's/__pycache__\///' | sed 's/.cpython-[0-9]*//'); cp $f $n; done;

0 commit comments

Comments
 (0)