From 4743879257a7a7401a97ea0923d3790289e48092 Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 16 Mar 2025 18:36:41 +0100 Subject: [PATCH] CI: fix container build --- Containerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index 6472fa4..5492216 100644 --- a/Containerfile +++ b/Containerfile @@ -1,10 +1,14 @@ # Build: podman build -t code.philo.ydns.eu/philorg/tinyseady-mailer -f Containerfile -FROM docker.io/python:3.12-alpine +FROM docker.io/python:3.13-alpine +RUN apk add --no-cache git COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/ -COPY . /src -WORKDIR /src -RUN uv sync --frozen --no-cache && uv pip install --system . +COPY . /app + +# Sync the project into a new environment, using the frozen lockfile +WORKDIR /app + +RUN uv pip install --system . CMD tinysteady-mailer