Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix: update `Dockerfile` to Python 3.12 (#1456)

Sarah Wooders24f21284a16a
diff --git a/Dockerfile b/Dockerfile
index ca7ea8b9d..7022a1d21 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,8 @@
# The builder image, used to build the virtual environment
-FROM python:3.11-bookworm as builder
+FROM python:3.12-bookworm as builder
ARG MEMGPT_ENVIRONMENT=PRODUCTION
ENV MEMGPT_ENVIRONMENT=${MEMGPT_ENVIRONMENT}
-RUN pip install poetry==1.4.2
+RUN pip install poetry==1.8.2
ENV POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_IN_PROJECT=1 \
@@ -22,7 +22,7 @@ RUN if [ "$MEMGPT_ENVIRONMENT" = "DEVELOPMENT" ] ; then \
# The runtime image, used to just run the code provided its virtual environment
-FROM python:3.11-slim-bookworm as runtime
+FROM python:3.12-slim-bookworm as runtime
ARG MEMGPT_ENVIRONMENT=PRODUCTION
ENV MEMGPT_ENVIRONMENT=${MEMGPT_ENVIRONMENT}
ENV VIRTUAL_ENV=/app/.venv \