fix: dockerfile中RUN内容修改
This commit is contained in:
parent
0103d89b22
commit
5fb1c87bc0
@ -2,7 +2,8 @@ FROM node:18-alpine
|
|||||||
|
|
||||||
WORKDIR /app
|
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
|
&& npm install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
Loading…
Reference in New Issue
Block a user