first commit

This commit is contained in:
qwq
2026-07-24 11:34:38 +08:00
commit 94f4f174f4
26 changed files with 2544 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM node:18-alpine
WORKDIR /app
# 安装 better-sqlite3 需要的构建依赖
RUN apk add --no-cache python3 make g++
COPY package.json ./
RUN npm install --production
COPY . .
# 创建数据和日志目录
RUN mkdir -p data/logs
EXPOSE 3000
CMD ["node", "src/index.js"]