feat: 实现 Sub2API 每日抽奖与排行榜

This commit is contained in:
root
2026-07-13 06:24:58 +02:00
commit 3ec8f3d2d6
22 changed files with 1652 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM oven/bun:1.2.21-slim
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile --production
COPY config ./config
COPY src ./src
COPY static ./static
ENV NODE_ENV=production
EXPOSE 8080
CMD ["bun", "src/server.ts", "--config", "config/sub2rank.yaml", "--runtime", "k8s"]