修复Docker构建:改用npm install替代yarn install

This commit is contained in:
wyxfzgg 2026-05-13 10:10:36 +08:00
parent 1899276587
commit ecafcd557d
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ WORKDIR /gitlink_help_center
COPY ./ /gitlink_help_center/
RUN yarn install
RUN npm install --legacy-peer-deps
ENV CI=true
RUN npm run build -- --locale zh-cn
CMD ["npm", "run", "serve"]