2024-12-12 04:32:05 +01:00
|
|
|
# Build: podman build -t code.philo.ydns.eu/philorg/tinyseady-mailer -f Containerfile
|
|
|
|
|
2025-03-16 18:36:41 +01:00
|
|
|
FROM docker.io/python:3.13-alpine
|
|
|
|
RUN apk add --no-cache git
|
2024-12-12 04:32:05 +01:00
|
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/
|
|
|
|
|
2025-03-16 18:36:41 +01:00
|
|
|
COPY . /app
|
|
|
|
|
|
|
|
# Sync the project into a new environment, using the frozen lockfile
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN uv pip install --system .
|
2024-12-12 04:32:05 +01:00
|
|
|
|
|
|
|
CMD tinysteady-mailer
|