mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 02:49:00 +08:00
Reverted replacing npm with yarn (#2531)
Reverted replacing npm with yarn ### Type of change - [x] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
This commit is contained in:
parent
f6ceb43e36
commit
139268de6f
@ -36,12 +36,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||
apt update && apt install -y nodejs npm && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# if you located in China, you can use taobao registry to speed up npm and yarn
|
||||
RUN npm config set registry https://registry.npmmirror.com/
|
||||
|
||||
# https://yarnpkg.com/getting-started/install
|
||||
COPY web web
|
||||
RUN cd web && npm install -g corepack && corepack enable && yarn install && yarn run build
|
||||
RUN cd web && npm i --force && npm run build
|
||||
|
||||
# install dependencies from poetry.lock file
|
||||
COPY pyproject.toml poetry.toml poetry.lock ./
|
||||
|
28006
web/package-lock.json
generated
Normal file
28006
web/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
||||
"lint": "umi lint --eslint-only",
|
||||
"prepare": "cd .. && husky web/.husky",
|
||||
"setup": "umi setup",
|
||||
"start": "yarn dev",
|
||||
"start": "npm run dev",
|
||||
"test": "jest --no-cache --coverage"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
14510
web/yarn.lock
14510
web/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user