Skip to content

Commit

Permalink
Fix docker uv installation
Browse files Browse the repository at this point in the history
  • Loading branch information
daya0576 committed Jan 31, 2025
1 parent 3b570a7 commit 7edd51e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.12-slim AS python-base
COPY --from=ghcr.io/astral-sh/uv:0.5.26 /uv /uvx /bin/
ENV UV_COMPILE_BYTECODE=1 \
\
PYSETUP_PATH="/opt/pysetup" \
Expand All @@ -13,7 +14,6 @@ RUN apt-get update \
curl \
ca-certificates
WORKDIR $PYSETUP_PATH
COPY --from=ghcr.io/astral-sh/uv:0.5.26 /uv /uvx /bin/
ENV PATH="/root/.local/bin/:$PATH"

COPY uv.lock pyproject.toml ./
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.nobuildkit.arm32
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.12-slim AS python-base
COPY --from=ghcr.io/astral-sh/uv:0.5.26 /uv /uvx /bin/
ENV UV_COMPILE_BYTECODE=1 \
\
PYSETUP_PATH="/opt/pysetup" \
Expand All @@ -20,7 +21,6 @@ ENV OPENSSL_LIB_DIR=/usr/lib/arm-linux-gnueabihf
ENV OPENSSL_INCLUDE_DIR=/usr/include/arm-linux-gnueabihf/openssl

WORKDIR $PYSETUP_PATH
COPY --from=ghcr.io/astral-sh/uv:0.5.26 /uv /uvx /bin/
ENV PATH="/root/.local/bin/:$PATH"

COPY uv.lock pyproject.toml ./
Expand Down

0 comments on commit 7edd51e

Please sign in to comment.