test-woodpecker-python/Containerfile
phil f5638a37a1
All checks were successful
ci/woodpecker/push/build Pipeline was successful
t6
2025-06-20 19:21:15 +02:00

15 lines
408 B
Docker

# Build: podman build -t code.philo.ydns.eu/k-net/knoc -f Containerfile
FROM docker.io/python:3.13-slim
#RUN apk add --no-cache git
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/
COPY --from=docker.io/python:3.13 /usr/bin/git /usr/local/bin/git
COPY . /app
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /app
RUN uv pip install --system .
ENTRYPOINT ["knoc"]