Compare commits

..

No commits in common. "develop" and "v0.0.53" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ COPY . /var/www
# CMD只运行出现一次 多次出现只会执行最后一个 # CMD只运行出现一次 多次出现只会执行最后一个
# 启动 hyperf 框架 并且 启动Nginx 服务器 # 启动 hyperf 框架 并且 启动Nginx 服务器
CMD ["php", "bin/hyperf.php", "start"] CMD ["php", "bin/hyperf.php", "start"]
#CMD ["nginx"] CMD ["nginx"]
#CMD php bin/hyperf.php start && nginx -g 'daemon off;' #CMD php bin/hyperf.php start && nginx -g 'daemon off;'
#CMD php bin/hyperf.php start && nginx #CMD php bin/hyperf.php start && nginx
# nginx -g 'daemon off;' 它将以前台模式运行,并将日志输出到终端 # nginx -g 'daemon off;' 它将以前台模式运行,并将日志输出到终端