Piplin / Docker

A dockerized version of Piplin.

Home Page:https://github.com/Piplin/Piplin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

构建失败,已解决

zhangya4548 opened this issue · comments

由于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
`