diff --git a/Dockerfile b/Dockerfile index 12980fa..93205b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,11 @@ FROM node:24-bookworm-slim WORKDIR /app -RUN apt-get update && \ +RUN sed -i \ + -e 's|http://deb.debian.org/debian|https://mirrors.aliyun.com/debian|g' \ + -e 's|http://deb.debian.org/debian-security|https://mirrors.aliyun.com/debian-security|g' \ + /etc/apt/sources.list.d/debian.sources && \ + apt-get update && \ apt-get install -y --no-install-recommends ca-certificates python3 make g++ && \ rm -rf /var/lib/apt/lists/* && \ npm config set registry https://registry.npmmirror.com/ && \