fix: 更新Dockerfile以设置Yarn的镜像源为华为云

This commit is contained in:
2025-10-23 16:45:17 +08:00
parent 3776a011ed
commit 0f55e2e108

View File

@ -16,6 +16,7 @@ RUN echo "deb https://mirrors.huaweicloud.com/debian/ bookworm main contrib non-
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -yq nodejs && \
npm install -g yarn@${YARN_VERSION} && \
yarn config set registry https://mirrors.huaweicloud.com/repository/npm/ && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ARG BUILD_CONFIGURATION=Release