Skip to content

Commit c033812

Browse files
committed
Merge branch 'development'
2 parents 842d063 + 472e535 commit c033812

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
@@ -2,9 +2,9 @@
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
2525
RUN 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

3030
LABEL image.author.name="Judith Bernett"
3131
LABEL 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
3535
COPY --from=builder /usr/local/bin /usr/local/bin
3636

3737
# Copy all relevant code

0 commit comments

Comments
 (0)