Cache
This commit is contained in:
parent
4e0c3c2f3c
commit
75bf44479f
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
FROM docker.io/python:alpine
|
||||
|
||||
COPY . /app
|
||||
ENV UV_LINK_MODE=COPY
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
@ -11,6 +12,7 @@ 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 \
|
||||
--mount=type=cache,target=/root/.cache/uv \
|
||||
uv pip install --system .
|
||||
|
||||
ENTRYPOINT ["foo"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue