devome/dockerfiles

tieba-cloud-sign 使用时报错

Closed this issue · 8 comments

[cont-init.d] 10-fix-owner: PGID=1000
[cont-init.d] 10-fix-owner: exited 0.
[cont-init.d] 20-fix-config: executing... 
[cont-init.d] 20-fix-config: Modify /var/www/config.php to the value set by the user...
[cont-init.d] 20-fix-config: cat: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: sed: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: cat: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: sed: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: cat: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: sed: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: cat: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: sed: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: cat: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: sed: /var/www/config.php: No such file or directory
[cont-init.d] 20-fix-config: exited 0.
[cont-init.d] 30-set-crontab: executing... 

怀疑是,映射 volumes: - ./www:/var/www的问题,麻烦大佬检查下

你的冒号左边改成你想使用的宿主机的绝对路径试试。

哦,不对,不需要映射任何文件夹,我写错了。

这么久竟然没人反馈此问题,我也没注意。。。。

这个映射是为了方便自己手动修改php网页吧,我看官方那里也写了

如果要映射的话,你需要在创建前先把那个仓库克隆到映射文件夹。

/var/www对应仓库的是仓库的哪个文件夹还是说整个仓库

整个仓库

好的,谢谢大佬