Skip to content

Commit 37b86e7

Browse files
committed
use compile-bytecode
1 parent a6012ed commit 37b86e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/aws/lambda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY titiler/ titiler/
1616
# Install system dependencies to compile (numexpr)
1717
RUN dnf install -y gcc-c++
1818
RUN uv export --locked --no-editable --no-emit-workspace --no-dev --format requirements.txt -o requirements.txt && \
19-
uv run pip install --target /asset -r requirements.txt --no-binary pydantic
19+
uv pip install --compile-bytecode --no-binary pydantic --target /asset -r requirements.txt
2020

2121
# copy libexpat.so.1 into /asset which is included in LD_LIBRARY_PATH
2222
RUN cp /usr/lib64/libexpat.so.1 /asset/

0 commit comments

Comments
 (0)