Skip to content

Commit

Permalink
Mount otel requirements during docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
bunchesofdonald committed Dec 17, 2024
1 parent e8a248e commit 3d0f51c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ COPY --from=ghcr.io/astral-sh/uv:0.5.8 /uv /uvx /bin/
# Install dependencies using a temporary mount for requirements files
RUN --mount=type=bind,source=requirements-client.txt,target=/tmp/requirements-client.txt \
--mount=type=bind,source=requirements.txt,target=/tmp/requirements.txt \
--mount=type=bind,source=requirements-otel.txt,target=/tmp/requirements-otel.txt \
--mount=type=cache,target=/root/.cache/uv \
uv pip install --system -r /tmp/requirements.txt -r /tmp/requirements-client.txt -r /tmp/requirements-otel.txt

Expand Down

0 comments on commit 3d0f51c

Please sign in to comment.