fix(deploy): vite config lazy load

This commit is contained in:
Ran
2026-02-14 22:16:55 +08:00
parent f964cbca69
commit 5c46d41ebf
5 changed files with 69 additions and 37 deletions
+1
View File
@@ -26,6 +26,7 @@ RUN apk add --no-cache ca-certificates wget
COPY --from=builder /build/agent/dist /app/dist
COPY --from=builder /build/agent/node_modules /app/node_modules
COPY --from=builder /build/agent/package.json /app/package.json
COPY --from=builder /build/node_modules /node_modules
EXPOSE 8081
-1
View File
@@ -6,7 +6,6 @@ WORKDIR /build
RUN npm install -g pnpm@10
COPY package.json pnpm-workspace.yaml pnpm-lock.yaml ./
COPY config.toml ./
COPY packages ./packages