Ficx
All checks were successful
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/build Pipeline was successful

This commit is contained in:
phil 2025-06-25 15:33:43 +02:00
parent 9a948fde8e
commit d1c9bc1c01

View file

@ -4,11 +4,13 @@ FROM docker.io/python:alpine
COPY . /app
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /app
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 \
# 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 \
uv pip install --system .
ENTRYPOINT ["foo"]