在 Heroku 中部署 Flask 应用程序时出错

时间:2021-06-03 04:52:06

标签: python flask heroku

我的文件夹和文件详情1

在heroku 2 中部署flask 应用程序时出错

1 个答案:

答案 0 :(得分:0)

<块引用>

Procfile 始终是一个名为 Procfile 的简单文本文件,没有文件扩展名。例如,Procfile.txt 无效。

这就是 Heroku 无法找到任何要运行的 web 进程的原因。 (错误代码 H14:没有 web dynos 运行)

修复:

<块引用>

将存储库根目录中的 Procfile.txt 更改为 Procfile

参考:https://devcenter.heroku.com/articles/procfile