mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-15 12:25:18 +00:00
Merge pull request #826 from s1moe2/fix/issue-824
fix: missing requirements.txt on lambda dockerfile
This commit is contained in:
commit
cd4deefbf8
1 changed files with 2 additions and 2 deletions
|
|
@ -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/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue