mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 03:40:38 +08:00
13 lines
329 B
Docker
13 lines
329 B
Docker
FROM public.ecr.aws/lambda/python:3.10
|
|
|
|
RUN yum update -y && \
|
|
yum install -y gcc python3-devel git && \
|
|
yum clean all
|
|
|
|
ADD pyproject.toml requirements.txt .
|
|
RUN pip install . && rm pyproject.toml
|
|
RUN pip install mangum==0.17.0
|
|
COPY pr_agent/ ${LAMBDA_TASK_ROOT}/pr_agent/
|
|
|
|
CMD ["pr_agent.servers.serverless.serverless"]
|