diff --git a/.tool-versions b/.tool-versions index 4aed807..7c32935 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -python 3.10.13 -poetry 1.4.2 +python 3.11.5 +poetry 1.6.1 diff --git a/Dockerfile b/Dockerfile index 66ce42e..7f53a40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim-bullseye as python-build-stage +FROM python:3.11-slim-bullseye as python-build-stage WORKDIR /src RUN apt-get update && apt-get upgrade -y \ @@ -11,7 +11,7 @@ RUN pip install --isolated --no-cache-dir --no-input poetry \ && poetry config virtualenvs.create false \ && poetry install --no-interaction --without=dev -FROM public.ecr.aws/lambda/python:3.9 as python-run-stage +FROM public.ecr.aws/lambda/python:3.11 as python-run-stage COPY --from=python-build-stage /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages ENV PYTHONPATH=/usr/local/lib/python3.10/site-packages