Skip to content

Commit 89ceecc

Browse files
committed
bugfix(docker) Ensure the correct extra install.
1 parent 687cccd commit 89ceecc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ RUN --mount=type=cache,target=/root/.cache/uv \
103103
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
104104
--mount=type=bind,source=uv.lock,target=uv.lock \
105105
ulimit -n 30000 && \
106-
uv pip install -e .
106+
uv pip install -e .[$GPU_DRIVER]
107107

docker/Dockerfile-rocm-full

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
7676
# this is just to get the package manager to recognize that the project exists, without making changes to the docker layer
7777
--mount=type=bind,source=invokeai/version,target=invokeai/version \
7878
ulimit -n 30000 && \
79-
uv sync --group $GPU_DRIVER --frozen
79+
uv sync --extra $GPU_DRIVER --frozen
8080

8181
RUN --mount=type=cache,target=/var/cache/apt \
8282
--mount=type=cache,target=/var/lib/apt \
@@ -132,5 +132,5 @@ RUN --mount=type=cache,target=/root/.cache/uv \
132132
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
133133
--mount=type=bind,source=uv.lock,target=uv.lock \
134134
ulimit -n 30000 && \
135-
uv pip install -e .
135+
uv pip install -e .[$GPU_DRIVER]
136136

0 commit comments

Comments
 (0)