mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-08 12:30:14 +00:00
chore: Add lyric build env
This commit is contained in:
@@ -39,6 +39,8 @@ RUN if [ "$USE_TSINGHUA_UBUNTU" = "true" ]; then \
|
||||
sqlite3 \
|
||||
libpq-dev \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential \
|
||||
pkg-config \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& python${PYTHON_VERSION} -m pip install --upgrade pip \
|
||||
&& python${PYTHON_VERSION} -m pip install --upgrade pipx \
|
||||
@@ -46,6 +48,10 @@ RUN if [ "$USE_TSINGHUA_UBUNTU" = "true" ]; then \
|
||||
&& pipx ensurepath --global \
|
||||
&& pipx install uv --global
|
||||
|
||||
# Install Rust toolchain for building lyric-py
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
WORKDIR /app
|
||||
# Create a virtual environment
|
||||
ENV VIRTUAL_ENV=/app/.venv
|
||||
|
Reference in New Issue
Block a user