diff --git a/Dockerfile b/Dockerfile index f075d6e..70cc51b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ FROM node:24-alpine +# 安装 Python 和构建工具来支持 better-sqlite3 编译 +RUN apk add --no-cache python3 make g++ + WORKDIR /app COPY package*.json ./