fix: yarn install extract package err when using GitHub Cache in amd6… (#3383)

This commit is contained in:
takatost 2024-04-12 00:04:09 +08:00 committed by GitHub
commit 6fa0e4072d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 9 deletions

View file

@ -13,12 +13,10 @@ WORKDIR /app/web
COPY package.json .
COPY yarn.lock .
RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn \
yarn install --frozen-lockfile
RUN yarn install --frozen-lockfile
# if you located in China, you can use taobao registry to speed up
# RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn \
# yarn install --frozen-lockfile --registry https://registry.npm.taobao.org/
# RUN yarn install --frozen-lockfile --registry https://registry.npm.taobao.org/

View file

@ -1,6 +1,6 @@
{
"name": "dify-web",
"version": "0.6.2-fix1",
"version": "0.6.2",
"private": true,
"scripts": {
"dev": "next dev",