test-woodpecker-python/Containerfile
phil caa5362397
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/tag/test Pipeline failed
ci/woodpecker/tag/build unknown status
b
2025-06-24 12:43:29 +02:00

16 lines
536 B
Docker

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