fix: cmd
parent
82a3710aab
commit
b6aecca2e7
|
@ -9,7 +9,7 @@ COPY . /var/www
|
|||
# CMD只运行出现一次 多次出现只会执行最后一个
|
||||
# 启动 hyperf 框架 并且 启动Nginx 服务器
|
||||
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
|
||||
# nginx -g 'daemon off;' 它将以前台模式运行,并将日志输出到终端
|
||||
|
|
Loading…
Reference in New Issue