diff --git a/Containerfile b/Containerfile index 5492216..6472fa4 100644 --- a/Containerfile +++ b/Containerfile @@ -1,14 +1,10 @@ # Build: podman build -t code.philo.ydns.eu/philorg/tinyseady-mailer -f Containerfile -FROM docker.io/python:3.13-alpine -RUN apk add --no-cache git +FROM docker.io/python:3.12-alpine COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/ -COPY . /app - -# Sync the project into a new environment, using the frozen lockfile -WORKDIR /app - -RUN uv pip install --system . +COPY . /src +WORKDIR /src +RUN uv sync --frozen --no-cache && uv pip install --system . CMD tinysteady-mailer