Compare commits

..

1 Commits

Author SHA1 Message Date
Gong b6aecca2e7 fix: cmd
continuous-integration/drone/tag Build is passing Details
2023-09-04 15:00:22 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -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;' 它将以前台模式运行,并将日志输出到终端