Skip to content

Commit 805aae4

Browse files
authored
fix: dynamic versioning needs git installed (#138)
1 parent 38ef0b5 commit 805aae4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM python:3.11-slim AS builder
33

44
# 1. Install curl & build tools for uv & any C extensions
55
RUN apt-get update \
6-
&& apt-get install -y --no-install-recommends curl build-essential \
6+
&& apt-get install -y --no-install-recommends curl build-essential git \
77
&& rm -rf /var/lib/apt/lists/*
88

99
# 2. Install uv standalone and symlink it
@@ -12,6 +12,9 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh \
1212

1313
WORKDIR /src
1414

15+
# We need git for uv-dynamic-versioning
16+
COPY .git/ .git/
17+
1518
# 3. Copy in only what uv needs to build the locked venv
1619
COPY pyproject.toml uv.lock README.md entrypoint.sh ./
1720
COPY src/deepset_mcp/ src/deepset_mcp/

0 commit comments

Comments
 (0)