Skip to content

Commit 0cf0368

Browse files
committed
switch back to titiler.application install in lambda
1 parent 11b6f03 commit 0cf0368

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

deployment/aws/lambda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM --platform=linux/amd64 lambci/lambda:build-python3.8
22

33
WORKDIR /tmp
44

5-
RUN pip install titiler==0.4.0a1 mangum>=0.10.0 -t /asset --no-binary pydantic
5+
RUN pip install titiler.application==0.4.0a1 mangum>=0.10.0 -t /asset --no-binary pydantic
66

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

setup.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ current_version = 0.4.0a1
33
commit = True
44
tag = True
55
tag_name = {new_version}
6-
parse =
6+
parse =
77
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
88
((?P<pre>a|b|rc)(?P<prenum>\d+))?
9-
serialize =
9+
serialize =
1010
{major}.{minor}.{patch}{pre}{prenum}
1111
{major}.{minor}.{patch}
1212

@@ -39,8 +39,8 @@ search = __version__ = "{current_version}"
3939
replace = __version__ = "{new_version}"
4040

4141
[bumpversion:file:deployment/aws/lambda/Dockerfile]
42-
search = titiler=={current_version}
43-
replace = titiler=={new_version}
42+
search = titiler.application=={current_version}
43+
replace = titiler.application=={new_version}
4444

4545
[isort]
4646
profile = black

0 commit comments

Comments
 (0)