File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22# https://medium.com/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0
33
44# The builder image, used to build the virtual environment
5- FROM python:3.11 -buster AS builder
5+ FROM python:3.13 -buster AS builder
66
7- RUN pip install poetry==2.0.0
7+ RUN pip install poetry==2.1.3
88
99# POETRY_CACHE_DIR: When removing the cache folder, make sure this is done in the same RUN command. If it’s done in a
1010# separate RUN command, the cache will still be part of the previous Docker layer (the one containing poetry install )
@@ -25,13 +25,13 @@ RUN touch README.md
2525RUN poetry install --without development --no-root && rm -rf $POETRY_CACHE_DIR
2626
2727# The runtime image, used to run the code
28- FROM python:3.11 -slim-buster AS runtime
28+ FROM python:3.13 -slim-buster AS runtime
2929
3030LABEL image.author.name="Judith Bernett"
3131LABEL image.author.email=
"[email protected] " 3232
3333# Copy installed dependencies from the builder image
34- COPY --from=builder /usr/local/lib/python3.11 /site-packages /usr/local/lib/python3.11 /site-packages
34+ COPY --from=builder /usr/local/lib/python3.13 /site-packages /usr/local/lib/python3.13 /site-packages
3535COPY --from=builder /usr/local/bin /usr/local/bin
3636
3737# Copy all relevant code
You can’t perform that action at this time.
0 commit comments