update
This commit is contained in:
@@ -3,9 +3,6 @@
|
|||||||
# ===========================================
|
# ===========================================
|
||||||
FROM node:24-alpine AS builder
|
FROM node:24-alpine AS builder
|
||||||
|
|
||||||
# 设置镜像源加速
|
|
||||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
|
||||||
|
|
||||||
# 设置 npm 镜像源
|
# 设置 npm 镜像源
|
||||||
RUN npm config set registry https://registry.npmmirror.com
|
RUN npm config set registry https://registry.npmmirror.com
|
||||||
|
|
||||||
@@ -29,9 +26,6 @@ RUN npm run build
|
|||||||
# ===========================================
|
# ===========================================
|
||||||
FROM node:24-alpine AS production
|
FROM node:24-alpine AS production
|
||||||
|
|
||||||
# 设置镜像源加速
|
|
||||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
|
||||||
|
|
||||||
# 设置 npm 镜像源
|
# 设置 npm 镜像源
|
||||||
RUN npm config set registry https://registry.npmmirror.com
|
RUN npm config set registry https://registry.npmmirror.com
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user