Use uv image build with same python version
This commit is contained in:
parent
b4340176da
commit
62053a1048
3 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ USER newsreader
|
|||
|
||||
COPY --chown=newsreader:newsreader uv.lock pyproject.toml /app/
|
||||
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
||||
COPY --from=ghcr.io/astral-sh/uv:python3.11-alpine /usr/local/bin/uv /bin/uv
|
||||
|
||||
RUN --mount=type=cache,target=$HOME/.cache/uv \
|
||||
uv sync --frozen --no-default-groups --no-install-project
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue