diff --git a/Dockerfile b/Dockerfile index 76a4208..951dda2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,9 @@ WORKDIR /build # 克隆并构建 2024 主题 ARG FRONTEND_2024_REPO=https://git.orionc.me/orion/FileCodeBoxFronted.git ARG FRONTEND_2024_BRANCH=main -RUN git clone --depth 1 --branch "$FRONTEND_2024_BRANCH" "$FRONTEND_2024_REPO" /build/fronted-2024 && \ +ARG FRONTEND_CACHE_BUST=1 +RUN echo "$FRONTEND_CACHE_BUST" >/tmp/frontend-cache-bust && \ + git clone --depth 1 --branch "$FRONTEND_2024_BRANCH" "$FRONTEND_2024_REPO" /build/fronted-2024 && \ cd /build/fronted-2024 && \ pnpm install --frozen-lockfile --prod=false && \ pnpm run build