fix: dockerfile中RUN内容修改

This commit is contained in:
huan 2024-08-09 14:42:08 +08:00
parent 0103d89b22
commit 5fb1c87bc0

View File

@ -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 . .