[英]Error while deploying flask app in Heroku
The Procfile is always a simple text file that is named
Procfile
without a file extension. Procfile 始终是一个简单的文本文件,名为Procfile
,没有文件扩展名。 For example,Procfile.txt
is not valid.例如,Procfile.txt
无效。
This is the reason why Heroku isn't able to find any web
processes to run.这就是 Heroku 无法找到任何web
进程运行的原因。 (Error Code H14: No web dynos running) (错误代码 H14:没有 web 测功机正在运行)
Fix:使固定:
Change
Procfile.txt
toProcfile
in root of your repo.将Procfile.txt
更改为回购根目录中的Procfile
。
Refer: https://devcenter.heroku.com/articles/procfile参考: https://devcenter.heroku.com/articles/procfile
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.