AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
原理: 1.docker加载windows系统共享目录里面的文件很慢 2.docker加载容器内部目录的文件很快 3.raync同步文件时只会同步有差异的文件,所以同进的时候挺快 步骤: 1.容器中安装 rsync ``` apt-get install rsync ``` 2.将以下两个文件添加到项目的根目录 exclude.log ``` vendor .git .idea public/* resource/* runtime/* test/* key/* ``` push.sh ``` #!/bin/bash rsync -azv --exclude-from=/home/www/wwwroot/hnsb_cinema/exclude.log /home/www/wwwroot/hnsb_cinema/ /home/wwwback php /home/wwwback/bin/swoft http:start ``` 在 /home/wwwback 目录下执行 composer install 以后启动项目的时候执行 ./push.sh 文件即可。