-
Notifications
You must be signed in to change notification settings - Fork 15
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
由于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
`
The text was updated successfully, but these errors were encountered: