Skip to content

Commit 3e12284

Browse files
committed
fix: update pip installation process in Dockerfile for Lambda
1 parent 2ef6764 commit 3e12284

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile.lambda

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ WORKDIR /var/task
77
COPY pyproject.toml uv.lock ./
88
COPY src/ ./src/
99

10-
RUN pip install --no-cache-dir .
10+
# Ensure pip is new enough to pick up prebuilt wheels (avoids building Rust/C++ deps like tiktoken/pyarrow).
11+
RUN python -m pip install --no-cache-dir --upgrade pip setuptools wheel
12+
RUN python -m pip install --no-cache-dir .
1113

1214
# Lambda handler (module.function)
1315
CMD ["poll_agent.lambda_handler.handler"]

0 commit comments

Comments
 (0)