first cimmit

This commit is contained in:
zcr
2026-01-26 11:40:11 +08:00
parent 71400cff38
commit dc2c1ddb03
11 changed files with 27 additions and 27 deletions

View File

@@ -16,20 +16,21 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libgl1 \
libglib2.0-0 \
ca-certificates \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY pyproject.toml uv.lock ./
COPY pyproject.toml uv.lock download_model.sh ./
ENV UV_COMPILE_BYTECODE=0
RUN uv sync --frozen --no-dev --no-install-project --python 3.10
RUN uv sync --frozen --no-dev --no-install-project --python 3.13
# 4. 拷贝项目文件并安装项目本身
COPY . .
RUN uv sync --frozen --no-dev --python 3.10
#COPY . .
RUN uv sync --frozen --no-dev --python 3.13
ENV PATH="/app/.venv/bin:$PATH"