Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

构建失败,已解决 #7

Open
zhangya4548 opened this issue Jul 27, 2018 · 0 comments
Open

构建失败,已解决 #7

zhangya4548 opened this issue Jul 27, 2018 · 0 comments

Comments

@zhangya4548
Copy link

由于composer官网最近异常,导致composer install失败,后检查需要在构建脚本增加两行修改compoer源

`

安装项目依赖

RUN set -xe
&& apk add --no-cache nginx redis nodejs supervisor git bash openssh-client rsync
&& npm config set registry http://registry.npm.taobao.org/
&& rm -rf composer.lock \ #增加
&& composer config repo.packagist composer https://packagist.laravel-china.org \ #增加
&& composer install -o
&& npm install --production
&& chmod -R 777 storage
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant