更新 Dockerfile

This commit is contained in:
huxin 2024-05-25 02:53:51 +08:00
parent 4fd4f01104
commit bf8d52cf5e
1 changed files with 5 additions and 4 deletions

View File

@ -8,14 +8,15 @@ COPY . .
# RUN npm config set registry https://mirrors.tuna.tsinghua.edu.cn/npm
RUN npm install -g pnpm
# RUN npm install -g pnpm
# RUN pnpm config set registry https://mirrors.tuna.tsinghua.edu.cn/npm
# 下载编译
RUN pnpm i
# RUN pnpm i
# RUN pnpm build
RUN pnpm generate
# RUN pnpm generate
RUN yarn
# RUN yarn build
# RUN yarn generate
RUN yarn generate