gpt4 book ai didi

dokku - 无法选择构建包

转载 作者:行者123 更新时间:2023-12-01 02:13:14 24 4
gpt4 key购买 nike

我对 dokku 很陌生。我在 DigitalOcean 设置了一个新的 dokku droplet。我创建了一个带有 www 目录的小型静态网站,其中包含一个名为 index.html 的 HTML 文件。在根目录中,我添加了一个空的 .nginx 文件。当我尝试推送时,我得到以下输出:

Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (5/5), 356 bytes | 0 bytes/s, done.
Total 5 (delta 0), reused 0 (delta 0)
-----> Cleaning up ...
remote: Cloning into '/tmp/tmp.FFdk4jjPhW'...
-----> Building dokkutest ...
remote: warning: You appear to have cloned an empty repository.
remote: done.
remote: HEAD is now at 0046a12... First implementation
-----> Unable to select a buildpack
To dokku@123.123.123.123:dokkutest
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@123.123.123.123:dokkutest'

关于我可能做错了什么的任何想法?

最佳答案

显然,nginx buildpack 默认不再与 dokku 一起安装。我已经使用这些步骤来设置:

https://florianheinemann.com/github/dokku/2014/11/17/Hosting-static-pages-on-Dokku.html

关于dokku - 无法选择构建包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27463780/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com