Merge pull request #4 from pikasTech/fix/apistate-runtime-cli-deps

fix: 补齐评分 CLI 运行依赖
This commit is contained in:
Lyon
2026-07-16 16:50:10 +08:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -2,6 +2,10 @@ FROM oven/bun:1.2.21-slim
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates curl \
&& rm -rf /var/lib/apt/lists/*
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile --production
+1 -1
View File
@@ -124,7 +124,7 @@ async function remote(parsed: Parsed, config: ReturnType<typeof loadConfig>, tar
checks: {
status: status.ok === true,
scores: scores.ok === true,
refresh: refreshed.ok === true,
refresh: refreshed.ok === true && refreshed.snapshotOk === true,
ranking: ranking.ok === true,
lottery: lottery.ok === true,
},