Skip to content

Commit 19122c1

Browse files
committed
try fix docker
1 parent 45a62af commit 19122c1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ COPY ./pyproject.toml /app/UltraSinger/pyproject.toml
2424
RUN mkdir -p /app/UltraSinger/src
2525
WORKDIR /app/UltraSinger
2626

27-
# Install build dependencies first (required by various packages when using --no-build-isolation)
28-
RUN uv pip install --system --python 3.12 setuptools wheel hatchling
29-
3027
# Install dependencies from pyproject.toml directly without venv (container is already isolated)
31-
RUN uv pip install --system --python 3.12 -e . --no-build-isolation
28+
# Using build isolation (without --no-build-isolation) so uv handles all build dependencies automatically
29+
RUN uv pip install --system --python 3.12 -e .
3230

3331
# Install PyTorch with CUDA support (override the CPU version from pyproject.toml)
3432
RUN uv pip install --system --python 3.12 torch==2.8.0 torchvision==0.23.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu128 --reinstall

0 commit comments

Comments
 (0)