mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 10:56:52 +08:00
fix: yarn install extract package err when using GitHub Cache in amd6… (#3383)
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user