mirror of
https://github.com/LLM-Red-Team/qwen-free-api.git
synced 2024-12-22 21:29:21 +08:00
npm切换到yarn降低镜像构建耗时
This commit is contained in:
parent
885e33ea7a
commit
eb7d10a60f
@ -4,7 +4,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY . /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
|
FROM node:lts-alpine
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user