From b73797a974dc32580b6671928d9ad02d6b771e27 Mon Sep 17 00:00:00 2001 From: Victoria Earl Date: Thu, 7 Nov 2024 22:54:51 -0500 Subject: [PATCH] Trying a different way --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c3310e4d1..b1c1d5660 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,12 +19,12 @@ RUN --mount=type=cache,target=/var/cache/apk \ sed -i 's/v3.19/edge/' /etc/apk/repositories && \ apk --update-cache upgrade && \ apk add git libxml2 xmlsec-dev build-base jq curl && \ - sh /tmp/install-uv.sh && source $HOME/.local/bin/env && \ + sh /tmp/install-uv.sh && \ rm /tmp/install-uv.sh ADD requirements.txt /app/ #RUN --mount=type=cache,target=/root/.cache \ -RUN uv pip install --system -r requirements.txt; +RUN /root/.local/bin/uv pip install --system -r requirements.txt; ADD uber-wrapper.sh /usr/local/bin/ RUN chmod +x /usr/local/bin/uber-wrapper.sh @@ -39,7 +39,7 @@ ENV uber_plugins=$PLUGIN_NAMES FROM build as test ADD requirements_test.txt /app/ #RUN --mount=type=cache,target=/root/.cache \ -RUN uv pip install --system -r requirements_test.txt +RUN /root/.local/bin/uv pip install --system -r requirements_test.txt CMD python -m pytest ADD . /app