Skip to content

Commit d8e84ff

Browse files
committed
chore: enable build in uv sync in Dockerfile
1 parent aa785c3 commit d8e84ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ FROM builder AS builder-slim
3030
RUN --mount=type=cache,target=/root/.cache/uv \
3131
--mount=type=bind,source=uv.lock,target=uv.lock \
3232
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
33-
uv sync --frozen --no-build --no-install-project --no-dev --no-editable
33+
uv sync --frozen --no-install-project --no-dev --no-editable
3434

3535
# Then, add the rest of the project source code and install it
3636
# Installing separately from its dependencies allows optimal layer caching
@@ -59,7 +59,7 @@ FROM builder AS builder-all
5959
RUN --mount=type=cache,target=/root/.cache/uv \
6060
--mount=type=bind,source=uv.lock,target=uv.lock \
6161
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
62-
uv sync --frozen --no-build --no-install-project --all-extras --no-dev --no-editable
62+
uv sync --frozen --no-install-project --all-extras --no-dev --no-editable
6363

6464
# Then, add the rest of the project source code and install it
6565
# Installing separately from its dependencies allows optimal layer caching

0 commit comments

Comments
 (0)