Skip to content

Commit d6ebf60

Browse files
authored
Merge pull request #117 from trussworks/chore/update-dockerfile
chore: fixes python version in Dockerfile
2 parents 2c9d266 + 9ad0186 commit d6ebf60

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.13-slim-bullseye as python-build-stage
1+
FROM python:3.13-slim-bullseye AS python-build-stage
22
WORKDIR /src
33

44
RUN apt-get update && apt-get upgrade -y \
@@ -11,10 +11,10 @@ RUN pip install --isolated --no-cache-dir --no-input poetry \
1111
&& poetry config virtualenvs.create false \
1212
&& poetry install --no-interaction --without=dev
1313

14-
FROM public.ecr.aws/lambda/python:3.13 as python-run-stage
14+
FROM public.ecr.aws/lambda/python:3.13 AS python-run-stage
1515

16-
COPY --from=python-build-stage /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
17-
ENV PYTHONPATH=/usr/local/lib/python3.10/site-packages
16+
COPY --from=python-build-stage /usr/local/lib/python3.13/site-packages /usr/local/lib/python3.13/site-packages
17+
ENV PYTHONPATH=/usr/local/lib/python3.13/site-packages
1818

1919
COPY handler.py ${LAMBDA_TASK_ROOT}
2020
COPY groups_read.py ${LAMBDA_TASK_ROOT}

0 commit comments

Comments
 (0)