diff --git a/bot-images/Dashboard.Dockerfile b/bot-images/Dashboard.Dockerfile index e51a987..1010f89 100644 --- a/bot-images/Dashboard.Dockerfile +++ b/bot-images/Dashboard.Dockerfile @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ RUN python -m venv /opt/venv WORKDIR /app -COPY pyproject.toml README.md LICENSE THIRD_PARTY_NOTICES.md ./ +COPY pyproject.toml hatch_build.py README.md LICENSE THIRD_PARTY_NOTICES.md ./ # 3. 先安装第三方依赖。该层只依赖 pyproject.toml,源码改动不会触发整套依赖重装。 RUN --mount=type=cache,target=/root/.cache/pip \