hyperf / hyperf-docker

🐳 The docker image offered by Hyperf.
https://hub.docker.com/r/hyperf/hyperf
306 stars 204 forks source link

项目下的dockefile 无法执行,, #25

Closed liminworks closed 3 years ago

liminworks commented 3 years ago

Do not run Composer as root/super user! See https://getcomposer.org/root for details Composer could not find a composer.json file in /opt/www To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section

liminworks commented 3 years ago

不能作用超级管理员运行,,需要在镜像中添加非root用户

limingxinleo commented 3 years ago

不需要,直接 root 就可以