From 1683f4342387e4b61bfbc09a301b7150629b631e Mon Sep 17 00:00:00 2001 From: puke <1129090915@qq.com> Date: Wed, 5 Nov 2025 10:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20Dockerfile=20=E7=9A=84?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7bce55a..4c49b32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,14 +24,15 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \ /root/.local/bin/uv --version ENV PATH="/root/.local/bin:$PATH" -# Copy dependency files first for better layer caching +# Copy dependency files and source code for building +# Note: pixelle_video is needed for hatchling to build the package COPY pyproject.toml uv.lock README.md ./ +COPY pixelle_video ./pixelle_video # Install Python dependencies using uv RUN /root/.local/bin/uv sync --frozen --no-dev -# Copy application code -COPY pixelle_video ./pixelle_video +# Copy rest of application code COPY api ./api COPY web ./web COPY bgm ./bgm