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
|
|
|
|
|
|
|
|
# Sync the project into a new environment, using the frozen lockfile
|
|
|
|
WORKDIR /app
|
|
|
|
|
2025-06-25 15:00:40 +02:00
|
|
|
RUN --mount=from=code.philorg.ydns.eu/philorg/uv:alpine,source=/usr/local/bin/uv,target=/bin/uv \
|
|
|
|
--mount=from=code.philorg.ydns.eu/philorg/uv:alpine,source=/usr/bin/git,target=/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"]
|