mirror of
https://github.com/LLM-Red-Team/glm-free-api.git
synced 2024-12-22 08:59:23 +08:00
npm切换到yarn,加快容器构建
This commit is contained in:
parent
32884af017
commit
a30fa1cbca
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user