CI: fix container build
All checks were successful
/ build (push) Successful in 15s

This commit is contained in:
phil 2025-03-16 18:36:41 +01:00
parent 746221d13d
commit 4743879257

View file

@ -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