Merge pull request #826 from s1moe2/fix/issue-824

fix: missing requirements.txt on lambda dockerfile
This commit is contained in:
Tal
2024-03-27 12:32:23 +02:00
committed by GitHub

View File

@ -1,10 +1,10 @@
FROM public.ecr.aws/lambda/python:3.10
RUN yum update -y && \
yum install -y gcc python3-devel && \
yum install -y gcc python3-devel git && \
yum clean all
ADD pyproject.toml .
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/