Skip to content

Commit a495769

Browse files
authored
Merge pull request #1677 from saumil-kapadia-stellantispublic/patch-1
Updated Dockerfile.lambda for python version 3.12
2 parents d4cc57c + e8171b0 commit a495769

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docker/Dockerfile.lambda

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM public.ecr.aws/lambda/python:3.10
1+
FROM public.ecr.aws/lambda/python:3.12
22

3-
RUN yum update -y && \
4-
yum install -y gcc python3-devel git && \
5-
yum clean all
3+
RUN dnf update -y && \
4+
dnf install -y gcc python3-devel git && \
5+
dnf clean all
66

7-
ADD pyproject.toml requirements.txt .
7+
ADD pyproject.toml requirements.txt ./
88
RUN pip install --no-cache-dir . && rm pyproject.toml
99
RUN pip install --no-cache-dir mangum==0.17.0
1010
COPY pr_agent/ ${LAMBDA_TASK_ROOT}/pr_agent/

0 commit comments

Comments
 (0)