# 安装依赖 | # 安装依赖 | ||||
RUN npm config set registry https://registry.npmmirror.com | RUN npm config set registry https://registry.npmmirror.com | ||||
RUN npm install | |||||
RUN npm install --unsafe-perm | |||||
#RUN npx vite build | #RUN npx vite build | ||||
# 将项目文件拷贝到工作目录 | # 将项目文件拷贝到工作目录 |