diff --git a/Dockerfile b/Dockerfile index 70cc51b..c57e9bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM node:24-alpine -# 安装 Python 和构建工具来支持 better-sqlite3 编译 +# 使用中科大镜像源加速包安装 +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories + RUN apk add --no-cache python3 make g++ WORKDIR /app