From 5fb1c87bc02050695b547afa7fcd8ca729ec7697 Mon Sep 17 00:00:00 2001 From: huan <1486343814@qq.com> Date: Fri, 9 Aug 2024 14:42:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20dockerfile=E4=B8=ADRUN=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 015154d..95ae436 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM node:18-alpine WORKDIR /app -RUN apk add --no-cache python3 make g++ \ +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \ + && apk add --no-cache python3 make g++ \ && npm install COPY . .