test-woodpecker-python/Containerfile

17 lines
551 B
Text
Raw Normal View History

2025-06-24 12:43:29 +02:00
# Build: podman build -t code.philo.ydns.eu/philorg/test-woodpecker -f Containerfile
2025-06-20 19:21:15 +02:00
2025-06-24 12:43:29 +02:00
FROM docker.io/python:alpine
2025-06-20 19:21:15 +02:00
COPY . /app
WORKDIR /app
2025-06-25 15:33:43 +02:00
# Sync the project into a new environment, using the frozen lockfile
RUN \
--mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/local/bin/uv,target=/bin/uv \
--mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/lib/libpcre2-8.so.0,target=/usr/lib/libpcre2-8.so.0 \
--mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/bin/git,target=/usr/bin/git \
2025-06-25 14:57:16 +02:00
uv pip install --system .
2025-06-20 19:21:15 +02:00
2025-06-24 12:43:29 +02:00
ENTRYPOINT ["foo"]