mirror of
https://github.com/LLM-Red-Team/qwen-free-api.git
synced 2025-10-16 23:39:53 +00:00
npm切换到yarn降低镜像构建耗时
This commit is contained in:
@@ -4,7 +4,7 @@ WORKDIR /app
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN npm i --registry http://registry.npmmirror.com && npm run build
|
||||
RUN yarn install --registry https://registry.npmmirror.com/ && yarn run build
|
||||
|
||||
FROM node:lts-alpine
|
||||
|
||||
|
Reference in New Issue
Block a user