From 456b0d70020ac0cde2d872969b60965c7cf9a2af Mon Sep 17 00:00:00 2001 From: evangriffiths Date: Thu, 2 May 2024 09:44:18 +0100 Subject: [PATCH] Update base image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 78591e1..ef80fee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Install Poetry and create venv in the builder step, # then copy the venv to the runtime image, so that the runtime image is as small as possible. -FROM --platform=linux/amd64 python:3.10.14-slim-bookworm AS builder +FROM --platform=linux/amd64 python:3.10.14-bookworm AS builder RUN pip install poetry==1.8.2 @@ -15,7 +15,7 @@ COPY pyproject.toml poetry.lock ./ RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry install --no-root --only main -FROM --platform=linux/amd64 python:3.10.14-slim-bookworm AS runtime +FROM --platform=linux/amd64 python:3.10.14-bookworm AS runtime ENV VIRTUAL_ENV=/app/.venv \ PATH="/app/.venv/bin:$PATH"