You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
cmake \
curl \
ffmpeg \
git \
git-lfs \
libglib2.0-0 \
libgl1 \
ninja-build \
pkg-config \
python3.12 \
python3.12-dev \
python3.12-venv \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
RUN python3.12 -m pip install --break-system-packages uv
WORKDIR /opt/ChituDiffusion
COPY . .
RUN python3.12 -c "from pathlib import Path; p = Path('pyproject.toml'); text = p.read_text().replace('https://pypi.tuna.tsinghua.edu.cn/simple', 'https://pypi.org/simple'); skip = ('vbench', 'flash_attn', 'flashinfer'); text = '\n'.join(line for line in text.splitlines() if not any(item in line for item in skip)) + '\n'; p.write_text(text)"