mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +08:00
Merge pull request #826 from s1moe2/fix/issue-824
fix: missing requirements.txt on lambda dockerfile
This commit is contained in:
@ -1,10 +1,10 @@
|
|||||||
FROM public.ecr.aws/lambda/python:3.10
|
FROM public.ecr.aws/lambda/python:3.10
|
||||||
|
|
||||||
RUN yum update -y && \
|
RUN yum update -y && \
|
||||||
yum install -y gcc python3-devel && \
|
yum install -y gcc python3-devel git && \
|
||||||
yum clean all
|
yum clean all
|
||||||
|
|
||||||
ADD pyproject.toml .
|
ADD pyproject.toml requirements.txt .
|
||||||
RUN pip install . && rm pyproject.toml
|
RUN pip install . && rm pyproject.toml
|
||||||
RUN pip install mangum==0.17.0
|
RUN pip install mangum==0.17.0
|
||||||
COPY pr_agent/ ${LAMBDA_TASK_ROOT}/pr_agent/
|
COPY pr_agent/ ${LAMBDA_TASK_ROOT}/pr_agent/
|
||||||
|
Reference in New Issue
Block a user