From 48212ec1023de6439f89f38e390e472b482030d6 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 21 Oct 2025 12:58:19 +0800 Subject: [PATCH] first commit --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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