fix: 更新Dockerfile以设置Yarn的镜像源为华为云
This commit is contained in:
@ -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 - && \
|
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
apt-get install -yq nodejs && \
|
apt-get install -yq nodejs && \
|
||||||
npm install -g yarn@${YARN_VERSION} && \
|
npm install -g yarn@${YARN_VERSION} && \
|
||||||
|
yarn config set registry https://mirrors.huaweicloud.com/repository/npm/ && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
ARG BUILD_CONFIGURATION=Release
|
ARG BUILD_CONFIGURATION=Release
|
||||||
|
|||||||
Reference in New Issue
Block a user