修复Docker构建:改用npm install替代yarn install
This commit is contained in:
parent
1899276587
commit
ecafcd557d
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue